| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 extern const char kRootBuildDir_Help[]; | 46 extern const char kRootBuildDir_Help[]; |
| 47 | 47 |
| 48 extern const char kRootGenDir[]; | 48 extern const char kRootGenDir[]; |
| 49 extern const char kRootGenDir_HelpShort[]; | 49 extern const char kRootGenDir_HelpShort[]; |
| 50 extern const char kRootGenDir_Help[]; | 50 extern const char kRootGenDir_Help[]; |
| 51 | 51 |
| 52 extern const char kRootOutDir[]; | 52 extern const char kRootOutDir[]; |
| 53 extern const char kRootOutDir_HelpShort[]; | 53 extern const char kRootOutDir_HelpShort[]; |
| 54 extern const char kRootOutDir_Help[]; | 54 extern const char kRootOutDir_Help[]; |
| 55 | 55 |
| 56 extern const char kTargetCpuArch[]; |
| 57 extern const char kTargetCpuArch_HelpShort[]; |
| 58 extern const char kTargetCpuArch_Help[]; |
| 59 |
| 60 extern const char kTargetOs[]; |
| 61 extern const char kTargetOs_HelpShort[]; |
| 62 extern const char kTargetOs_Help[]; |
| 63 |
| 56 extern const char kTargetGenDir[]; | 64 extern const char kTargetGenDir[]; |
| 57 extern const char kTargetGenDir_HelpShort[]; | 65 extern const char kTargetGenDir_HelpShort[]; |
| 58 extern const char kTargetGenDir_Help[]; | 66 extern const char kTargetGenDir_Help[]; |
| 59 | 67 |
| 60 extern const char kTargetOutDir[]; | 68 extern const char kTargetOutDir[]; |
| 61 extern const char kTargetOutDir_HelpShort[]; | 69 extern const char kTargetOutDir_HelpShort[]; |
| 62 extern const char kTargetOutDir_Help[]; | 70 extern const char kTargetOutDir_Help[]; |
| 63 | 71 |
| 64 // Target vars ----------------------------------------------------------------- | 72 // Target vars ----------------------------------------------------------------- |
| 65 | 73 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 // Note: this is used only for help so this getter is not threadsafe. | 216 // Note: this is used only for help so this getter is not threadsafe. |
| 209 const VariableInfoMap& GetBuiltinVariables(); | 217 const VariableInfoMap& GetBuiltinVariables(); |
| 210 | 218 |
| 211 // Returns the variables used by target generators. | 219 // Returns the variables used by target generators. |
| 212 // Note: this is used only for help so this getter is not threadsafe. | 220 // Note: this is used only for help so this getter is not threadsafe. |
| 213 const VariableInfoMap& GetTargetVariables(); | 221 const VariableInfoMap& GetTargetVariables(); |
| 214 | 222 |
| 215 } // namespace variables | 223 } // namespace variables |
| 216 | 224 |
| 217 #endif // TOOLS_GN_VARIABLES_H_ | 225 #endif // TOOLS_GN_VARIABLES_H_ |
| OLD | NEW |