summaryrefslogtreecommitdiff
path: root/build_extra
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-09-25 14:48:07 -0700
committerBert Belder <bertbelder@gmail.com>2018-09-26 09:52:30 -0700
commit531a427d8810792df4c77f10c42945e2f7663ffb (patch)
treed129d27a4e046602ea6e4f3ed6dc001930c6a367 /build_extra
parent023b4640fc4c8bf3efd4f5f8914552cdae6d142b (diff)
build: do not quote cc_wrapper on windows
This brings behavior inline with the unix toolchain, which also leaves cc_wrapper unquoted. If necessary, add quotes in the setup phase instead.
Diffstat (limited to 'build_extra')
-rw-r--r--build_extra/toolchain/win/mods.gni4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_extra/toolchain/win/mods.gni b/build_extra/toolchain/win/mods.gni
index 5355d7f9a..30a936051 100644
--- a/build_extra/toolchain/win/mods.gni
+++ b/build_extra/toolchain/win/mods.gni
@@ -20,9 +20,9 @@ import("//build/toolchain/cc_wrapper.gni")
# Some python scripts that are run by BUILD.gni live here.
base_toolchain_dir = "//build/toolchain/win"
-# If cc_wrapper if is set, wrap it in quotes and add a space to it.
+# If cc_wrapper if is set, add a space to it.
if (cc_wrapper == "") {
cc_wrapper_prefix = ""
} else {
- cc_wrapper_prefix = "\"$cc_wrapper\" "
+ cc_wrapper_prefix = "$cc_wrapper "
}