| 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 24 matching lines...) Expand all Loading... |
| 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 " - \"x86\"\n" | 43 " - \"x86\"\n" |
| 44 " - \"x64\"\n" | 44 " - \"x64\"\n" |
| 45 " - \"arm\"\n"; | 45 " - \"arm\"\n" |
| 46 " - \"mipsel\"\n"; |
| 46 | 47 |
| 47 const char kCurrentToolchain[] = "current_toolchain"; | 48 const char kCurrentToolchain[] = "current_toolchain"; |
| 48 const char kCurrentToolchain_HelpShort[] = | 49 const char kCurrentToolchain_HelpShort[] = |
| 49 "current_toolchain: [string] Label of the current toolchain."; | 50 "current_toolchain: [string] Label of the current toolchain."; |
| 50 const char kCurrentToolchain_Help[] = | 51 const char kCurrentToolchain_Help[] = |
| 51 "current_toolchain: Label of the current toolchain.\n" | 52 "current_toolchain: Label of the current toolchain.\n" |
| 52 "\n" | 53 "\n" |
| 53 " A fully-qualified label representing the current toolchain. You can\n" | 54 " 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" | 55 " use this to make toolchain-related decisions in the build. See also\n" |
| 55 " \"default_toolchain\".\n" | 56 " \"default_toolchain\".\n" |
| (...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 INSERT_VARIABLE(Script) | 837 INSERT_VARIABLE(Script) |
| 837 INSERT_VARIABLE(SourcePrereqs) | 838 INSERT_VARIABLE(SourcePrereqs) |
| 838 INSERT_VARIABLE(Sources) | 839 INSERT_VARIABLE(Sources) |
| 839 } | 840 } |
| 840 return info_map; | 841 return info_map; |
| 841 } | 842 } |
| 842 | 843 |
| 843 #undef INSERT_VARIABLE | 844 #undef INSERT_VARIABLE |
| 844 | 845 |
| 845 } // namespace variables | 846 } // namespace variables |
| OLD | NEW |