Add GN help for global switches.
commit86a7f4bdb48417f69d6fd03ba88a1b4f6248aaae
authorbrettw <brettw@chromium.org>
Wed, 26 Nov 2014 22:07:28 +0000 (26 14:07 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 26 Nov 2014 22:08:18 +0000 (26 22:08 +0000)
treec9f3c28c7afca361d5ea4653da59c723289b126f
parent39dc7bac58f08244ecd344565c98f8d1b01fa3c5
Add GN help for global switches.

Some of the more complicated ones like --args needed more explanation than could fit in one line. This separates out the switch help into a separate section accessed via "gn help switches".

Removes the switch --no-exec. Originally I used this to see the effect of running scripts on the build time, but now everything will fail hard all over the place if scripts don't return the expected output.

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

Cr-Commit-Position: refs/heads/master@{#305892}
12 files changed:
tools/gn/BUILD.gn
tools/gn/command_gen.cc
tools/gn/command_help.cc
tools/gn/function_exec_script.cc
tools/gn/gn.gyp
tools/gn/gn_main.cc
tools/gn/ninja_build_writer.cc
tools/gn/scheduler.cc
tools/gn/setup.cc
tools/gn/standard_out.cc
tools/gn/switches.cc [new file with mode: 0644]
tools/gn/switches.h [new file with mode: 0644]