| Index: tools/gn/ninja_script_target_writer.cc
|
| diff --git a/tools/gn/ninja_script_target_writer.cc b/tools/gn/ninja_script_target_writer.cc
|
| index b36297667a8a0859663a1d5237e4c191e204108c..5dd80953bb473c15b80cb413c8533d86420ba510 100644
|
| --- a/tools/gn/ninja_script_target_writer.cc
|
| +++ b/tools/gn/ninja_script_target_writer.cc
|
| @@ -75,7 +75,11 @@ std::string NinjaScriptTargetWriter::WriteRuleDefinition(
|
| out_ << "rule " << custom_rule_name << std::endl;
|
| out_ << " command = ";
|
| path_output_.WriteFile(out_, settings_->build_settings()->python_path());
|
| - out_ << " gyp-win-tool action-wrapper $arch " << rspfile << std::endl;
|
| + // TODO(brettw) this hardcodes "environment.x86" which is something that
|
| + // the Chrome Windows toolchain writes. We should have a way to invoke
|
| + // python without requiring this gyp_win_tool thing.
|
| + out_ << " gyp-win-tool action-wrapper environment.x86 " << rspfile
|
| + << std::endl;
|
| out_ << " description = CUSTOM " << target_label << std::endl;
|
| out_ << " restat = 1" << std::endl;
|
| out_ << " rspfile = " << rspfile << std::endl;
|
|
|