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

Unified Diff: tools/gn/functions_target.cc

Issue 56433003: GN threading refactor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/functions.cc ('k') | tools/gn/gn.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/functions_target.cc
diff --git a/tools/gn/functions_target.cc b/tools/gn/functions_target.cc
index fc968e58c217e73b29ee333f3aad8db85f5995bc..ceb0fbbd371a45d7cbec1eac5dc3939c1e48d265 100644
--- a/tools/gn/functions_target.cc
+++ b/tools/gn/functions_target.cc
@@ -41,7 +41,7 @@ Value ExecuteGenericTarget(const char* target_type,
if (err->has_error())
return Value();
- TargetGenerator::GenerateTarget(&block_scope, function->function(), args,
+ TargetGenerator::GenerateTarget(&block_scope, function, args,
target_type, err);
if (err->has_error())
return Value();
@@ -109,7 +109,7 @@ Value RunComponent(Scope* scope,
if (err->has_error())
return Value();
- TargetGenerator::GenerateTarget(&block_scope, function->function(), args,
+ TargetGenerator::GenerateTarget(&block_scope, function, args,
component_mode, err);
return Value();
}
@@ -163,8 +163,7 @@ Value RunCopy(const FunctionCallNode* function,
if (!EnsureNotProcessingImport(function, scope, err) ||
!EnsureNotProcessingBuildConfig(function, scope, err))
return Value();
- TargetGenerator::GenerateTarget(scope, function->function(), args,
- functions::kCopy, err);
+ TargetGenerator::GenerateTarget(scope, function, args, functions::kCopy, err);
return Value();
}
« no previous file with comments | « tools/gn/functions.cc ('k') | tools/gn/gn.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698