| 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 #ifndef TOOLS_GN_VARIABLES_H_ | 5 #ifndef TOOLS_GN_VARIABLES_H_ |
| 6 #define TOOLS_GN_VARIABLES_H_ | 6 #define TOOLS_GN_VARIABLES_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/strings/string_piece.h" | 10 #include "base/strings/string_piece.h" |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 extern const char kCompleteStaticLib_Help[]; | 116 extern const char kCompleteStaticLib_Help[]; |
| 117 | 117 |
| 118 extern const char kConfigs[]; | 118 extern const char kConfigs[]; |
| 119 extern const char kConfigs_HelpShort[]; | 119 extern const char kConfigs_HelpShort[]; |
| 120 extern const char kConfigs_Help[]; | 120 extern const char kConfigs_Help[]; |
| 121 | 121 |
| 122 extern const char kConsole[]; | 122 extern const char kConsole[]; |
| 123 extern const char kConsole_HelpShort[]; | 123 extern const char kConsole_HelpShort[]; |
| 124 extern const char kConsole_Help[]; | 124 extern const char kConsole_Help[]; |
| 125 | 125 |
| 126 extern const char kDarwinBundle[]; |
| 127 extern const char kDarwinBundle_HelpShort[]; |
| 128 extern const char kDarwinBundle_Help[]; |
| 129 |
| 126 extern const char kData[]; | 130 extern const char kData[]; |
| 127 extern const char kData_HelpShort[]; | 131 extern const char kData_HelpShort[]; |
| 128 extern const char kData_Help[]; | 132 extern const char kData_Help[]; |
| 129 | 133 |
| 130 extern const char kDataDeps[]; | 134 extern const char kDataDeps[]; |
| 131 extern const char kDataDeps_HelpShort[]; | 135 extern const char kDataDeps_HelpShort[]; |
| 132 extern const char kDataDeps_Help[]; | 136 extern const char kDataDeps_Help[]; |
| 133 | 137 |
| 134 extern const char kDefines[]; | 138 extern const char kDefines[]; |
| 135 extern const char kDefines_HelpShort[]; | 139 extern const char kDefines_HelpShort[]; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 160 extern const char kLdflags_Help[]; | 164 extern const char kLdflags_Help[]; |
| 161 | 165 |
| 162 extern const char kLibDirs[]; | 166 extern const char kLibDirs[]; |
| 163 extern const char kLibDirs_HelpShort[]; | 167 extern const char kLibDirs_HelpShort[]; |
| 164 extern const char kLibDirs_Help[]; | 168 extern const char kLibDirs_Help[]; |
| 165 | 169 |
| 166 extern const char kLibs[]; | 170 extern const char kLibs[]; |
| 167 extern const char kLibs_HelpShort[]; | 171 extern const char kLibs_HelpShort[]; |
| 168 extern const char kLibs_Help[]; | 172 extern const char kLibs_Help[]; |
| 169 | 173 |
| 174 extern const char kLoadableModule[]; |
| 175 extern const char kLoadableModule_HelpShort[]; |
| 176 extern const char kLoadableModule_Help[]; |
| 177 |
| 170 extern const char kOutputExtension[]; | 178 extern const char kOutputExtension[]; |
| 171 extern const char kOutputExtension_HelpShort[]; | 179 extern const char kOutputExtension_HelpShort[]; |
| 172 extern const char kOutputExtension_Help[]; | 180 extern const char kOutputExtension_Help[]; |
| 173 | 181 |
| 174 extern const char kOutputName[]; | 182 extern const char kOutputName[]; |
| 175 extern const char kOutputName_HelpShort[]; | 183 extern const char kOutputName_HelpShort[]; |
| 176 extern const char kOutputName_Help[]; | 184 extern const char kOutputName_Help[]; |
| 177 | 185 |
| 178 extern const char kOutputs[]; | 186 extern const char kOutputs[]; |
| 179 extern const char kOutputs_HelpShort[]; | 187 extern const char kOutputs_HelpShort[]; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 // Note: this is used only for help so this getter is not threadsafe. | 240 // Note: this is used only for help so this getter is not threadsafe. |
| 233 const VariableInfoMap& GetBuiltinVariables(); | 241 const VariableInfoMap& GetBuiltinVariables(); |
| 234 | 242 |
| 235 // Returns the variables used by target generators. | 243 // Returns the variables used by target generators. |
| 236 // Note: this is used only for help so this getter is not threadsafe. | 244 // Note: this is used only for help so this getter is not threadsafe. |
| 237 const VariableInfoMap& GetTargetVariables(); | 245 const VariableInfoMap& GetTargetVariables(); |
| 238 | 246 |
| 239 } // namespace variables | 247 } // namespace variables |
| 240 | 248 |
| 241 #endif // TOOLS_GN_VARIABLES_H_ | 249 #endif // TOOLS_GN_VARIABLES_H_ |
| OLD | NEW |