Remove all gyp BUILD rules with multiple outputs.
authorvogelheim <vogelheim@chromium.org>
Tue, 8 Sep 2015 15:24:45 +0000 (08:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 8 Sep 2015 15:24:53 +0000 (15:24 +0000)
commit244cc0a6a9643bee962c2e3c60a1e093f18fe9ed
treee83af7fd1efcb9723a809fa1958086da4583e017
parentc9f0368adda0436569076065367e59320327ca00
Remove all gyp BUILD rules with multiple outputs.

- Modify js2c to accept --js and --nojs,
- modify mksnapshot to accept --startup_src
  (instead of a positional parameter, so that it can be omitted),
- modify v8.gyp to use the above so that no target has multiple
  output dependencies, and
- update GN to use the switches above.

(I have not succeeded in fixing the GYP->make translator to properly map
 multi-output rules, so that they work as expected in all edge cases.
 This CL signals defeat on that front, and instead I rewrite the GYP
 file to avoid that situation in the first place.)

R=jochen@chromium.org
BUG=v8:4382
LOG=N

Review URL: https://codereview.chromium.org/1310273009

Cr-Commit-Position: refs/heads/master@{#30640}
BUILD.gn
src/flag-definitions.h
src/snapshot/mksnapshot.cc
tools/gyp/v8.gyp
tools/js2c.py