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/517ac52f86903beb206b19e6ddeedbc709b253a1
Cr-Commit-Position: refs/heads/master@{#338929}
Patch Set 1 #Patch Set 2 : Add restat to gn rule. #
Total comments: 3
Patch Set 3 : Remove dependency hack at the same time #
Messages
Total messages: 25 (4 generated)
|