Descriptionninja/mac: Don't choke on bundles that have no 'sources'.
Also support completely empty bundles.
One problem with supporting sourceless bundles was that the executable
build rule always used final_deps as input, but if there are no sources,
then final_deps was equal to source_depends or action_depends. Distinguish
between link_deps and final_deps, and just write a stamp file instead of
creating a binary (without sources).
Sourceless non-bundle (non-'none') targets with actions are still broken; but
they're broken in the make generator too, so they're apparently not used. I
will make input.py error out on these in a later CL.
BUG=96894
Committed: http://code.google.com/p/gyp/source/detail?r=1136
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #Patch Set 4 : '' #Patch Set 5 : '' #Patch Set 6 : Not done yet, added failing test. #Patch Set 7 : actual test #
Total comments: 1
Patch Set 8 : passes #Patch Set 9 : '' #Patch Set 10 : '' #Patch Set 11 : '' #Patch Set 12 : expand test; fails again #Patch Set 13 : expand test; fails again #
Total comments: 2
Patch Set 14 : comment #
Total comments: 3
Messages
Total messages: 9 (0 generated)
|