| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 Err* err); | 187 Err* err); |
| 188 | 188 |
| 189 extern const char kSharedLibrary[]; | 189 extern const char kSharedLibrary[]; |
| 190 extern const char kSharedLibrary_Help[]; | 190 extern const char kSharedLibrary_Help[]; |
| 191 Value RunSharedLibrary(Scope* scope, | 191 Value RunSharedLibrary(Scope* scope, |
| 192 const FunctionCallNode* function, | 192 const FunctionCallNode* function, |
| 193 const std::vector<Value>& args, | 193 const std::vector<Value>& args, |
| 194 BlockNode* block, | 194 BlockNode* block, |
| 195 Err* err); | 195 Err* err); |
| 196 | 196 |
| 197 extern const char kSourceSet[]; |
| 198 extern const char kSourceSet_Help[]; |
| 199 Value RunSourceSet(Scope* scope, |
| 200 const FunctionCallNode* function, |
| 201 const std::vector<Value>& args, |
| 202 BlockNode* block, |
| 203 Err* err); |
| 204 |
| 197 extern const char kStaticLibrary[]; | 205 extern const char kStaticLibrary[]; |
| 198 extern const char kStaticLibrary_Help[]; | 206 extern const char kStaticLibrary_Help[]; |
| 199 Value RunStaticLibrary(Scope* scope, | 207 Value RunStaticLibrary(Scope* scope, |
| 200 const FunctionCallNode* function, | 208 const FunctionCallNode* function, |
| 201 const std::vector<Value>& args, | 209 const std::vector<Value>& args, |
| 202 BlockNode* block, | 210 BlockNode* block, |
| 203 Err* err); | 211 Err* err); |
| 204 | 212 |
| 205 extern const char kTemplate[]; | 213 extern const char kTemplate[]; |
| 206 extern const char kTemplate_Help[]; | 214 extern const char kTemplate_Help[]; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 // Returns the name of the toolchain for the given scope. | 334 // Returns the name of the toolchain for the given scope. |
| 327 const Label& ToolchainLabelForScope(const Scope* scope); | 335 const Label& ToolchainLabelForScope(const Scope* scope); |
| 328 | 336 |
| 329 // Generates a label for the given scope, using the current directory and | 337 // Generates a label for the given scope, using the current directory and |
| 330 // toolchain, and the given name. | 338 // toolchain, and the given name. |
| 331 Label MakeLabelForScope(const Scope* scope, | 339 Label MakeLabelForScope(const Scope* scope, |
| 332 const FunctionCallNode* function, | 340 const FunctionCallNode* function, |
| 333 const std::string& name); | 341 const std::string& name); |
| 334 | 342 |
| 335 #endif // TOOLS_GN_FUNCTIONS_H_ | 343 #endif // TOOLS_GN_FUNCTIONS_H_ |
| OLD | NEW |