DescriptionNinja: separate dependencies for compile steps vs actions/rules/copies
Currently, if library A depends on library B, we always wait until B has linked
before compiling objects for A. That's not necessary, and overly constricts the
build.
Instead, we keep a separate dependency tree of "action" depends and "compile"
depends. Compile steps in target A depend on actions (in target A or any of its
dependencies), but not directly on other compiles. Action steps still depend on
compile and link steps of dependent targets.
That allows for much higher parallelism.
BUG=None
TEST=Make -j 10000 chrome
Committed: http://code.google.com/p/gyp/source/detail?r=1087
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix final dependencies, adding test #Patch Set 3 : style #
Total comments: 5
Patch Set 4 : copyright year #Messages
Total messages: 8 (0 generated)
|