Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(968)

Side by Side Diff: tools/gn/functions.h

Issue 264773014: Add get_target_gen_path function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gn/function_get_target_gen_path_unittest.cc ('k') | tools/gn/functions.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 Err* err); 189 Err* err);
190 190
191 extern const char kRebasePath[]; 191 extern const char kRebasePath[];
192 extern const char kRebasePath_HelpShort[]; 192 extern const char kRebasePath_HelpShort[];
193 extern const char kRebasePath_Help[]; 193 extern const char kRebasePath_Help[];
194 Value RunRebasePath(Scope* scope, 194 Value RunRebasePath(Scope* scope,
195 const FunctionCallNode* function, 195 const FunctionCallNode* function,
196 const std::vector<Value>& args, 196 const std::vector<Value>& args,
197 Err* err); 197 Err* err);
198 198
199 extern const char kGetTargetGenPath[];
200 extern const char kGetTargetGenPath_HelpShort[];
201 extern const char kGetTargetGenPath_Help[];
202 Value RunGetTargetGenPath(Scope* scope,
203 const FunctionCallNode* function,
204 const std::vector<Value>& args,
205 Err* err);
206
199 extern const char kSetDefaults[]; 207 extern const char kSetDefaults[];
200 extern const char kSetDefaults_HelpShort[]; 208 extern const char kSetDefaults_HelpShort[];
201 extern const char kSetDefaults_Help[]; 209 extern const char kSetDefaults_Help[];
202 Value RunSetDefaults(Scope* scope, 210 Value RunSetDefaults(Scope* scope,
203 const FunctionCallNode* function, 211 const FunctionCallNode* function,
204 const std::vector<Value>& args, 212 const std::vector<Value>& args,
205 BlockNode* block, 213 BlockNode* block,
206 Err* err); 214 Err* err);
207 215
208 extern const char kSetDefaultToolchain[]; 216 extern const char kSetDefaultToolchain[];
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « tools/gn/function_get_target_gen_path_unittest.cc ('k') | tools/gn/functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698