diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 22:49:30 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 22:49:30 +0000 |
commit | f346618f6e1d9746b5b8dcbc1021dd133d136c14 (patch) | |
tree | 6e385c4ac40814f029a385f201f6f1a2d73317c7 /tools/gn/command_gyp.cc | |
parent | d3b8e98879eaa7128cbd5bb3b20ff9c6dcf73795 (diff) | |
download | chromium_src-f346618f6e1d9746b5b8dcbc1021dd133d136c14.zip chromium_src-f346618f6e1d9746b5b8dcbc1021dd133d136c14.tar.gz chromium_src-f346618f6e1d9746b5b8dcbc1021dd133d136c14.tar.bz2 |
Add documentation for gyp command.
BUG=
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/23766006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/gn/command_gyp.cc')
-rw-r--r-- | tools/gn/command_gyp.cc | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/tools/gn/command_gyp.cc b/tools/gn/command_gyp.cc index 0992433..80b23cb 100644 --- a/tools/gn/command_gyp.cc +++ b/tools/gn/command_gyp.cc @@ -150,9 +150,26 @@ bool RunGyp(const BuildSettings* build_settings) { const char kGyp[] = "gyp"; const char kGyp_HelpShort[] = - "gyp: Run gyp and then GN."; + "gyp: Run GYP and then GN."; const char kGyp_Help[] = - "TODO(brettw) write this.\n"; + "gyp: Run GYP and then GN.\n" + "\n" + " Generate a hybrid GYP/GN build where some targets are generated by\n" + " each of the tools. As long as target names and locations match between\n" + " the two tools, they can depend on each other.\n" + "\n" + " When GN is run in this mode, it will not write out any targets\n" + " annotated with \"external = true\". Otherwise, GYP targets with the\n" + " same name and location will be overwritten.\n" + "\n" + " References to the GN ninja files will be inserted into the\n" + " GYP-generated build.ninja file.\n" + "\n" + "Option:\n" + " --no-gyp\n" + " Don't actually run GYP or modify build.ninja. This is used when\n" + " working on the GN build when it is known that no GYP files have\n" + " changed and you want it to run faster.\n"; // Note: partially duplicated from command_gen.cc. int RunGyp(const std::vector<std::string>& args) { |