| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |