Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Side by Side Diff: tools/gn/variables.cc

Issue 23766006: GN: Add documentation for gyp command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: speling Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gn/command_gyp.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "tools/gn/variables.h" 5 #include "tools/gn/variables.h"
6 6
7 namespace variables { 7 namespace variables {
8 8
9 // Built-in variables ---------------------------------------------------------- 9 // Built-in variables ----------------------------------------------------------
10 10
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 const char kExternal_HelpShort[] = 397 const char kExternal_HelpShort[] =
398 "external: [boolean] Declares a target as externally generated."; 398 "external: [boolean] Declares a target as externally generated.";
399 const char kExternal_Help[] = 399 const char kExternal_Help[] =
400 "external: Declares a target as externally generated.\n" 400 "external: Declares a target as externally generated.\n"
401 "\n" 401 "\n"
402 " External targets are treated like normal targets as far as dependent\n" 402 " External targets are treated like normal targets as far as dependent\n"
403 " targets are concerned, but do not actually have their .ninja file\n" 403 " targets are concerned, but do not actually have their .ninja file\n"
404 " written to disk. This allows them to be generated by an external\n" 404 " written to disk. This allows them to be generated by an external\n"
405 " program (e.g. GYP).\n" 405 " program (e.g. GYP).\n"
406 "\n" 406 "\n"
407 " See also \"gn help gyp\".\n"
408 "\n"
407 "Example:\n" 409 "Example:\n"
408 " static_library(\"foo\") {\n" 410 " static_library(\"foo\") {\n"
409 " external = true\n" 411 " external = true\n"
410 " }\n"; 412 " }\n";
411 413
412 const char kForwardDependentConfigsFrom[] = "forward_dependent_configs_from"; 414 const char kForwardDependentConfigsFrom[] = "forward_dependent_configs_from";
413 const char kForwardDependentConfigsFrom_HelpShort[] = 415 const char kForwardDependentConfigsFrom_HelpShort[] =
414 "forward_dependent_configs_from: [label list] Forward dependent's configs."; 416 "forward_dependent_configs_from: [label list] Forward dependent's configs.";
415 const char kForwardDependentConfigsFrom_Help[] = 417 const char kForwardDependentConfigsFrom_Help[] =
416 "forward_dependent_configs_from\n" 418 "forward_dependent_configs_from\n"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 INSERT_VARIABLE(ForwardDependentConfigsFrom) 523 INSERT_VARIABLE(ForwardDependentConfigsFrom)
522 INSERT_VARIABLE(Ldflags) 524 INSERT_VARIABLE(Ldflags)
523 INSERT_VARIABLE(Sources) 525 INSERT_VARIABLE(Sources)
524 } 526 }
525 return info_map; 527 return info_map;
526 } 528 }
527 529
528 #undef INSERT_VARIABLE 530 #undef INSERT_VARIABLE
529 531
530 } // namespace variables 532 } // namespace variables
OLDNEW
« no previous file with comments | « tools/gn/command_gyp.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698