summaryrefslogtreecommitdiff
path: root/chromium/build/toolchain/win/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/build/toolchain/win/BUILD.gn')
-rw-r--r--chromium/build/toolchain/win/BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/build/toolchain/win/BUILD.gn b/chromium/build/toolchain/win/BUILD.gn
index 52624a7d54e..0f33833133c 100644
--- a/chromium/build/toolchain/win/BUILD.gn
+++ b/chromium/build/toolchain/win/BUILD.gn
@@ -15,7 +15,7 @@ assert(is_win, "Should only be running on Windows")
# Copy the VS runtime DLL for the default toolchain to the root build directory
# so things will run.
-if (current_toolchain == default_toolchain) {
+if (current_toolchain == default_toolchain && ninja_use_custom_environment_files) {
if (is_debug) {
configuration_name = "Debug"
} else {