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

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

Issue 269723006: Add get_target_outputs function to GN (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments 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_toolchain.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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_toolchain.cc ('k') | tools/gn/functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698