| 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 22 matching lines...) Expand all Loading... |
| 33 const char kCpuArch_Help[] = | 33 const char kCpuArch_Help[] = |
| 34 "cpu_arch: Current processor architecture.\n" | 34 "cpu_arch: Current processor architecture.\n" |
| 35 "\n" | 35 "\n" |
| 36 " The initial value is based on the current architecture of the host\n" | 36 " The initial value is based on the current architecture of the host\n" |
| 37 " system. However, the build configuration can set this to any value.\n" | 37 " system. However, the build configuration can set this to any value.\n" |
| 38 "\n" | 38 "\n" |
| 39 " This value is not used internally by GN for any purpose, so you can\n" | 39 " This value is not used internally by GN for any purpose, so you can\n" |
| 40 " set it to whatever value is relevant to your build.\n" | 40 " set it to whatever value is relevant to your build.\n" |
| 41 "\n" | 41 "\n" |
| 42 "Possible initial values set by GN:\n" | 42 "Possible initial values set by GN:\n" |
| 43 " - \"ia32\"\n" | 43 " - \"x86\"\n" |
| 44 " - \"ia64\"\n" | 44 " - \"x64\"\n" |
| 45 " - \"arm\"\n"; | 45 " - \"arm\"\n"; |
| 46 | 46 |
| 47 const char kCurrentToolchain[] = "current_toolchain"; | 47 const char kCurrentToolchain[] = "current_toolchain"; |
| 48 const char kCurrentToolchain_HelpShort[] = | 48 const char kCurrentToolchain_HelpShort[] = |
| 49 "current_toolchain: [string] Label of the current toolchain."; | 49 "current_toolchain: [string] Label of the current toolchain."; |
| 50 const char kCurrentToolchain_Help[] = | 50 const char kCurrentToolchain_Help[] = |
| 51 "current_toolchain: Label of the current toolchain.\n" | 51 "current_toolchain: Label of the current toolchain.\n" |
| 52 "\n" | 52 "\n" |
| 53 " A fully-qualified label representing the current toolchain. You can\n" | 53 " A fully-qualified label representing the current toolchain. You can\n" |
| 54 " use this to make toolchain-related decisions in the build. See also\n" | 54 " use this to make toolchain-related decisions in the build. See also\n" |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 815 INSERT_VARIABLE(Script) | 815 INSERT_VARIABLE(Script) |
| 816 INSERT_VARIABLE(SourcePrereqs) | 816 INSERT_VARIABLE(SourcePrereqs) |
| 817 INSERT_VARIABLE(Sources) | 817 INSERT_VARIABLE(Sources) |
| 818 } | 818 } |
| 819 return info_map; | 819 return info_map; |
| 820 } | 820 } |
| 821 | 821 |
| 822 #undef INSERT_VARIABLE | 822 #undef INSERT_VARIABLE |
| 823 | 823 |
| 824 } // namespace variables | 824 } // namespace variables |
| OLD | NEW |