Index: tools/gn/binary_target_generator.cc |
diff --git a/tools/gn/binary_target_generator.cc b/tools/gn/binary_target_generator.cc |
index b8d2d6e6ba801f0e5f1ee397e44ceaaac219a385..3aec119e12ec0b73623986ad2f7c76bfa28bfcbe 100644 |
--- a/tools/gn/binary_target_generator.cc |
+++ b/tools/gn/binary_target_generator.cc |
@@ -9,12 +9,13 @@ |
#include "tools/gn/scope.h" |
#include "tools/gn/variables.h" |
-BinaryTargetGenerator::BinaryTargetGenerator(Target* target, |
- Scope* scope, |
- const Token& function_token, |
- Target::OutputType type, |
- Err* err) |
- : TargetGenerator(target, scope, function_token, err), |
+BinaryTargetGenerator::BinaryTargetGenerator( |
+ Target* target, |
+ Scope* scope, |
+ const FunctionCallNode* function_call, |
+ Target::OutputType type, |
+ Err* err) |
+ : TargetGenerator(target, scope, function_call, err), |
output_type_(type) { |
} |
@@ -46,12 +47,10 @@ void BinaryTargetGenerator::DoRun() { |
// Config values (compiler flags, etc.) set directly on this target. |
ConfigValuesGenerator gen(&target_->config_values(), scope_, |
- function_token_, scope_->GetSourceDir(), err_); |
+ scope_->GetSourceDir(), err_); |
gen.Run(); |
if (err_->has_error()) |
return; |
- |
- SetToolchainDependency(); |
} |
void BinaryTargetGenerator::FillOutputName() { |