| 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_FUNCTIONS_H_ | 5 #ifndef TOOLS_GN_FUNCTIONS_H_ |
| 6 #define TOOLS_GN_FUNCTIONS_H_ | 6 #define TOOLS_GN_FUNCTIONS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 Err* err); | 140 Err* err); |
| 141 | 141 |
| 142 extern const char kGetEnv[]; | 142 extern const char kGetEnv[]; |
| 143 extern const char kGetEnv_HelpShort[]; | 143 extern const char kGetEnv_HelpShort[]; |
| 144 extern const char kGetEnv_Help[]; | 144 extern const char kGetEnv_Help[]; |
| 145 Value RunGetEnv(Scope* scope, | 145 Value RunGetEnv(Scope* scope, |
| 146 const FunctionCallNode* function, | 146 const FunctionCallNode* function, |
| 147 const std::vector<Value>& args, | 147 const std::vector<Value>& args, |
| 148 Err* err); | 148 Err* err); |
| 149 | 149 |
| 150 extern const char kGetTargetOutputs[]; |
| 151 extern const char kGetTargetOutputs_HelpShort[]; |
| 152 extern const char kGetTargetOutputs_Help[]; |
| 153 Value RunGetTargetOutputs(Scope* scope, |
| 154 const FunctionCallNode* function, |
| 155 const std::vector<Value>& args, |
| 156 Err* err); |
| 157 |
| 150 extern const char kGroup[]; | 158 extern const char kGroup[]; |
| 151 extern const char kGroup_HelpShort[]; | 159 extern const char kGroup_HelpShort[]; |
| 152 extern const char kGroup_Help[]; | 160 extern const char kGroup_Help[]; |
| 153 Value RunGroup(Scope* scope, | 161 Value RunGroup(Scope* scope, |
| 154 const FunctionCallNode* function, | 162 const FunctionCallNode* function, |
| 155 const std::vector<Value>& args, | 163 const std::vector<Value>& args, |
| 156 BlockNode* block, | 164 BlockNode* block, |
| 157 Err* err); | 165 Err* err); |
| 158 | 166 |
| 159 extern const char kImport[]; | 167 extern const char kImport[]; |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 // Returns the name of the toolchain for the given scope. | 401 // Returns the name of the toolchain for the given scope. |
| 394 const Label& ToolchainLabelForScope(const Scope* scope); | 402 const Label& ToolchainLabelForScope(const Scope* scope); |
| 395 | 403 |
| 396 // Generates a label for the given scope, using the current directory and | 404 // Generates a label for the given scope, using the current directory and |
| 397 // toolchain, and the given name. | 405 // toolchain, and the given name. |
| 398 Label MakeLabelForScope(const Scope* scope, | 406 Label MakeLabelForScope(const Scope* scope, |
| 399 const FunctionCallNode* function, | 407 const FunctionCallNode* function, |
| 400 const std::string& name); | 408 const std::string& name); |
| 401 | 409 |
| 402 #endif // TOOLS_GN_FUNCTIONS_H_ | 410 #endif // TOOLS_GN_FUNCTIONS_H_ |
| OLD | NEW |