Revert of Add output reference to gen written files. (patchset #3 id:40001 of https...
commit61fb6826c8e7b9a31c260cb3698258e4fad5b33b
authordpranke <dpranke@chromium.org>
Mon, 27 Jul 2015 23:10:31 +0000 (27 16:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Jul 2015 23:11:14 +0000 (27 23:11 +0000)
tree150b090a8d64ed822b24e3e42cbfa9d24e8ddcd3
parent8c8c674234a53e44e8621baff460ec1343992b8c
Revert of Add output reference to gen written files. (patchset #3 id:40001 of https://codereview.chromium.org/1220223002/)

Reason for revert:
Looks like this doesn't quite work on Windows:

http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/21206/steps/compile%20%28with%20patch%29/logs/stdio

Original issue's description:
> Add output reference to gen written files.
>
> By adding the outputs written at gn gen time to the build.ninja representation the build tool (ninja) can know how to recreate them if and when necessary.
>
> For example, if one or more of the <blah>.tmp files is removed, even as part of an entire hierarchy/subtree currently the build fails because ninja does not know how to re-make it.
>
> BUG=469621
> TEST=Build time only. See https://code.google.com/p/chromium/issues/detail?id=469621#c3
>
> Committed: https://crrev.com/517ac52f86903beb206b19e6ddeedbc709b253a1
> Cr-Commit-Position: refs/heads/master@{#338929}

TBR=brettw@chromium.org,petermayo@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=469621

Review URL: https://codereview.chromium.org/1255113004

Cr-Commit-Position: refs/heads/master@{#340596}
tools/gn/function_write_file.cc
tools/gn/ninja_build_writer.cc
tools/gn/scheduler.cc
tools/gn/scheduler.h