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

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

Issue 2095043005: Add GN split_list function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 5 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
« no previous file with comments | « tools/gn/function_foreach.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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 298
299 extern const char kSourceSet[]; 299 extern const char kSourceSet[];
300 extern const char kSourceSet_HelpShort[]; 300 extern const char kSourceSet_HelpShort[];
301 extern const char kSourceSet_Help[]; 301 extern const char kSourceSet_Help[];
302 Value RunSourceSet(Scope* scope, 302 Value RunSourceSet(Scope* scope,
303 const FunctionCallNode* function, 303 const FunctionCallNode* function,
304 const std::vector<Value>& args, 304 const std::vector<Value>& args,
305 BlockNode* block, 305 BlockNode* block,
306 Err* err); 306 Err* err);
307 307
308 extern const char kSplitList[];
309 extern const char kSplitList_HelpShort[];
310 extern const char kSplitList_Help[];
311 Value RunSplitList(Scope* scope,
312 const FunctionCallNode* function,
313 const ListNode* args_list,
314 Err* err);
315
308 extern const char kStaticLibrary[]; 316 extern const char kStaticLibrary[];
309 extern const char kStaticLibrary_HelpShort[]; 317 extern const char kStaticLibrary_HelpShort[];
310 extern const char kStaticLibrary_Help[]; 318 extern const char kStaticLibrary_Help[];
311 Value RunStaticLibrary(Scope* scope, 319 Value RunStaticLibrary(Scope* scope,
312 const FunctionCallNode* function, 320 const FunctionCallNode* function,
313 const std::vector<Value>& args, 321 const std::vector<Value>& args,
314 BlockNode* block, 322 BlockNode* block,
315 Err* err); 323 Err* err);
316 324
317 extern const char kTarget[]; 325 extern const char kTarget[];
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 Scope* scope_; 495 Scope* scope_;
488 const FunctionCallNode* function_; 496 const FunctionCallNode* function_;
489 const char* type_description_; 497 const char* type_description_;
490 498
491 // Set to true when the key is added to the scope so we don't try to 499 // Set to true when the key is added to the scope so we don't try to
492 // delete nonexistant keys which will cause assertions. 500 // delete nonexistant keys which will cause assertions.
493 bool key_added_; 501 bool key_added_;
494 }; 502 };
495 503
496 #endif // TOOLS_GN_FUNCTIONS_H_ 504 #endif // TOOLS_GN_FUNCTIONS_H_
OLDNEW
« no previous file with comments | « tools/gn/function_foreach.cc ('k') | tools/gn/functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698