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

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

Issue 1359113003: Fix GN docs for 'gn help deps' and update reference.md. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « tools/gn/docs/reference.md ('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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 676
677 const char kDeps[] = "deps"; 677 const char kDeps[] = "deps";
678 const char kDeps_HelpShort[] = 678 const char kDeps_HelpShort[] =
679 "deps: [label list] Private linked dependencies."; 679 "deps: [label list] Private linked dependencies.";
680 const char kDeps_Help[] = 680 const char kDeps_Help[] =
681 "deps: Private linked dependencies.\n" 681 "deps: Private linked dependencies.\n"
682 "\n" 682 "\n"
683 " A list of target labels.\n" 683 " A list of target labels.\n"
684 "\n" 684 "\n"
685 " Specifies private dependencies of a target. Shared and dynamic\n" 685 " Specifies private dependencies of a target. Shared and dynamic\n"
686 " libraries will be linked into the current target. Other target types\n" 686 " libraries will be linked into the current target.\n"
687 " that can't be linked (like actions and groups) listed in \"deps\" will\n"
688 " be treated as \"data_deps\". Likewise, if the current target isn't\n"
689 " linkable, then all deps will be treated as \"data_deps\".\n"
690 "\n" 687 "\n"
691 " These dependencies are private in that it does not grant dependent\n" 688 " These dependencies are private in that it does not grant dependent\n"
692 " targets the ability to include headers from the dependency, and direct\n" 689 " targets the ability to include headers from the dependency, and direct\n"
693 " dependent configs are not forwarded.\n" 690 " dependent configs are not forwarded.\n"
694 "\n" 691 "\n"
695 " See also \"public_deps\" and \"data_deps\".\n"; 692 " See also \"public_deps\" and \"data_deps\".\n";
696 693
697 // TODO(brettw) remove this, deprecated. 694 // TODO(brettw) remove this, deprecated.
698 const char kForwardDependentConfigsFrom[] = "forward_dependent_configs_from"; 695 const char kForwardDependentConfigsFrom[] = "forward_dependent_configs_from";
699 const char kForwardDependentConfigsFrom_HelpShort[] = 696 const char kForwardDependentConfigsFrom_HelpShort[] =
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 INSERT_VARIABLE(Sources) 1269 INSERT_VARIABLE(Sources)
1273 INSERT_VARIABLE(Testonly) 1270 INSERT_VARIABLE(Testonly)
1274 INSERT_VARIABLE(Visibility) 1271 INSERT_VARIABLE(Visibility)
1275 } 1272 }
1276 return info_map; 1273 return info_map;
1277 } 1274 }
1278 1275
1279 #undef INSERT_VARIABLE 1276 #undef INSERT_VARIABLE
1280 1277
1281 } // namespace variables 1278 } // namespace variables
OLDNEW
« no previous file with comments | « tools/gn/docs/reference.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698