Index: build/config/BUILDCONFIG.gn |
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn |
index deec5a1c1034ad413d2d39b349e67a076679a968..606a229dad03c9a0bb68b959b4fc563d22f4ac28 100644 |
--- a/build/config/BUILDCONFIG.gn |
+++ b/build/config/BUILDCONFIG.gn |
@@ -524,11 +524,10 @@ set_defaults("test") { |
if (is_win) { |
# On windows we use the same toolchain for host and target by default. |
- # TODO(dpranke): rename the toolchains to x64 and x86 to match current_cpu. |
- if (current_cpu == "x64") { |
- host_toolchain = "//build/toolchain/win:64" |
- } else if (current_cpu == "x86") { |
- host_toolchain = "//build/toolchain/win:32" |
+ if (is_clang) { |
+ host_toolchain = "//build/toolchain/win:clang_$current_cpu" |
+ } else { |
+ host_toolchain = "//build/toolchain/win:$current_cpu" |
} |
set_default_toolchain("$host_toolchain") |
} else if (is_android) { |