Chromium Code Reviews
Description[Findit] Check existence of given targets before running compile in recipe findit/chromium/compile.
A "target" here is actually a node in ninja's build graph, eg:
1. An executable target like browser_tests
2. An object file like obj/path/to/Source.o
3. An action like build/linux:gio_loader
4. An generated header file like gen/library_loaders/libgio.h
5. and so on
Because a "target" could be added or deleted by some commit in the regression range, we have to check whether it still exists before re-running compile at a different commit. Otherwise, compile will always fail.
Use 'ninja -t query TARGET1 [TARGET2 ...]' to test whether "target"s exist or not: ninja exits with 0 if all the targets exist; otherwise with 1.
BUG=592715, 560991
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299206
Patch Set 1 : . #
Total comments: 10
Patch Set 2 : Address comments. #Patch Set 3 : Update expected files. #Patch Set 4 : Rebase. #
Messages
Total messages: 22 (15 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||