Index: build/toolchain/nacl/BUILD.gn |
diff --git a/build/toolchain/nacl/BUILD.gn b/build/toolchain/nacl/BUILD.gn |
index 3896e1964d4a55492ca41791acc66887282048f0..85342115e7fa76b18e2667d8a45b27d821d596d5 100644 |
--- a/build/toolchain/nacl/BUILD.gn |
+++ b/build/toolchain/nacl/BUILD.gn |
@@ -54,7 +54,7 @@ template("pnacl_toolchain") { |
# When the compilers are run via goma or ccache rather than directly by |
# GN/Ninja, the goma/ccache wrapper handles .bat files but gets confused |
# by being given the scriptprefix. |
- if (host_os == "win" && !use_goma && !use_ccache) { |
+ if (host_os == "win" && !use_goma && cc_wrapper == "") { |
compiler_scriptprefix = scriptprefix |
} else { |
compiler_scriptprefix = "" |