Index: build/toolchain/toolchain.gni |
diff --git a/build/toolchain/toolchain.gni b/build/toolchain/toolchain.gni |
index 233b6937c2259fc055aa8970720096b9340ee185..b7bfaff7897a11fdb73d25b4bcf882a6f2914218 100644 |
--- a/build/toolchain/toolchain.gni |
+++ b/build/toolchain/toolchain.gni |
@@ -92,9 +92,12 @@ if (is_posix) { |
stamp_description = "STAMP {{output}}" |
copy_description = "COPY {{source}} {{output}}" |
if (host_os == "win") { |
- stamp_command = "$python_path gyp-win-tool stamp {{output}}" |
+ _tool_wrapper_path = |
+ rebase_path("//build/toolchain/win/tool_wrapper.py", root_build_dir) |
+ |
+ stamp_command = "$python_path $_tool_wrapper_path stamp {{output}}" |
copy_command = |
- "$python_path gyp-win-tool recursive-mirror {{source}} {{output}}" |
+ "$python_path $_tool_wrapper_path recursive-mirror {{source}} {{output}}" |
} else { |
stamp_command = "touch {{output}}" |
copy_command = "ln -f {{source}} {{output}} 2>/dev/null || (rm -rf {{output}} && cp -af {{source}} {{output}})" |