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

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

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/functions.h ('k') | no next file » | 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 #include "tools/gn/functions.h" 5 #include "tools/gn/functions.h"
6 6
7 #include <iostream> 7 #include <iostream>
8 8
9 #include "base/environment.h" 9 #include "base/environment.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 INSERT_FUNCTION(StaticLibrary, true) 639 INSERT_FUNCTION(StaticLibrary, true)
640 INSERT_FUNCTION(Test, true) 640 INSERT_FUNCTION(Test, true)
641 641
642 INSERT_FUNCTION(Assert, false) 642 INSERT_FUNCTION(Assert, false)
643 INSERT_FUNCTION(Config, false) 643 INSERT_FUNCTION(Config, false)
644 INSERT_FUNCTION(Copy, false) 644 INSERT_FUNCTION(Copy, false)
645 INSERT_FUNCTION(DeclareArgs, false) 645 INSERT_FUNCTION(DeclareArgs, false)
646 INSERT_FUNCTION(Defined, false) 646 INSERT_FUNCTION(Defined, false)
647 INSERT_FUNCTION(ExecScript, false) 647 INSERT_FUNCTION(ExecScript, false)
648 INSERT_FUNCTION(GetEnv, false) 648 INSERT_FUNCTION(GetEnv, false)
649 INSERT_FUNCTION(GetTargetGenPath, false)
649 INSERT_FUNCTION(Import, false) 650 INSERT_FUNCTION(Import, false)
650 INSERT_FUNCTION(Print, false) 651 INSERT_FUNCTION(Print, false)
651 INSERT_FUNCTION(ProcessFileTemplate, false) 652 INSERT_FUNCTION(ProcessFileTemplate, false)
652 INSERT_FUNCTION(ReadFile, false) 653 INSERT_FUNCTION(ReadFile, false)
653 INSERT_FUNCTION(RebasePath, false) 654 INSERT_FUNCTION(RebasePath, false)
654 INSERT_FUNCTION(SetDefaults, false) 655 INSERT_FUNCTION(SetDefaults, false)
655 INSERT_FUNCTION(SetDefaultToolchain, false) 656 INSERT_FUNCTION(SetDefaultToolchain, false)
656 INSERT_FUNCTION(SetSourcesAssignmentFilter, false) 657 INSERT_FUNCTION(SetSourcesAssignmentFilter, false)
657 INSERT_FUNCTION(Template, false) 658 INSERT_FUNCTION(Template, false)
658 INSERT_FUNCTION(Tool, false) 659 INSERT_FUNCTION(Tool, false)
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 return found_function->second.executed_block_runner( 727 return found_function->second.executed_block_runner(
727 function, args.list_value(), &block_scope, err); 728 function, args.list_value(), &block_scope, err);
728 } 729 }
729 730
730 // Otherwise it's a no-block function. 731 // Otherwise it's a no-block function.
731 return found_function->second.no_block_runner(scope, function, 732 return found_function->second.no_block_runner(scope, function,
732 args.list_value(), err); 733 args.list_value(), err);
733 } 734 }
734 735
735 } // namespace functions 736 } // namespace functions
OLDNEW
« no previous file with comments | « tools/gn/functions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698