DescriptionAdd 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/c497d21798caf871326443ad98bd58f546d7b38e
Cr-Commit-Position: refs/heads/master@{#341251}
Patch Set 1 : As reviewed in https://codereview.chromium.org/1220223002 #
Total comments: 3
Patch Set 2 : Added escaping for generated filenames. #
Total comments: 5
Patch Set 3 : do not escape paths in build.ninja.d #
Total comments: 4
Messages
Total messages: 21 (5 generated)
|