diff --git a/gn/toolchain/BUILD.gn b/gn/toolchain/BUILD.gn index e8e6ce4603..bd9a2777ba 100644 --- a/gn/toolchain/BUILD.gn +++ b/gn/toolchain/BUILD.gn @@ -81,7 +81,7 @@ toolchain("msvc") { if (target_cpu == "x86") { # Toolchain asset includes a script that configures for x86 building. # We don't support x86 builds with local MSVC installations. - env_setup = "$shell $win_sdk/bin/SetEnv.cmd /x86 && " + # env_setup = "$shell $win_sdk/bin/SetEnv.cmd /x86 && " } else if (target_cpu == "arm64") { # ARM64 compiler is incomplete - it relies on DLLs located in the host toolchain directory. env_setup = "$shell set \"PATH=%PATH%;$win_vc\\Tools\\MSVC\\$win_toolchain_version\\bin\\HostX64\\x64\" && " @@ -373,13 +373,13 @@ template("gcc_like_toolchain") { tool("copy") { cp_py = rebase_path("../cp.py") - command = "python \"$cp_py\" {{source}} {{output}}" + command = "$shell python \"$cp_py\" {{source}} {{output}}" description = "copy {{source}} {{output}}" } tool("copy_bundle_data") { cp_py = rebase_path("../cp.py") - command = "python \"$cp_py\" {{source}} {{output}}" + command = "$shell python \"$cp_py\" {{source}} {{output}}" description = "copy_bundle_data {{source}} {{output}}" }