Chromium Code Reviews
DescriptionAlways emit original sources from scan_sources.
scan_sources.py should always emit the original source files passed as input,
even if it cannot find them. This is necessary to create a proper dependency
arc from the build rule "mojo_nacl" to the generated source "libmojo.cc" from
the "monacl_codegen" build rule..
It's not sufficient to convey this source dependency through ninja depfiles.
This is because the emitted dependency in the mojo_nacl.ninja from "mojo_nacl"
to "monacl_codegen" is order-only and depenencies are scanned before order-only
dependencies are run (https://github.com/martine/ninja/issues/760).
BUG=https://code.google.com/p/chromium/issues/detail?id=440451
TEST=manually modified libmojo.cc.tmpl and rebuilt mojo_nacl.
R=bradnelson@google.com, ncbray@chromium.org
Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=14212
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Messages
Total messages: 17 (8 generated)
|