Index: build/config/BUILDCONFIG.gn |
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn |
index 16e49b87a7ef76842fdd0fd8604f4309018b4d69..b674db9d6e88c96b3f6f0b3f58368a76899e766f 100644 |
--- a/build/config/BUILDCONFIG.gn |
+++ b/build/config/BUILDCONFIG.gn |
@@ -193,12 +193,13 @@ if (target_os == "android") { |
_default_toolchain = "//build/toolchain/android:$target_cpu" |
} |
} else if (target_os == "chromeos") { |
+ # See comments in build/toolchain/cros/BUILD.gn about board compiles. |
assert(host_os == "linux", |
"ChromeOS builds are only supported on Linux hosts.") |
if (is_clang) { |
- _default_toolchain = "//build/toolchain/linux:clang_$target_cpu" |
+ _default_toolchain = "//build/toolchain/cros:clang_target" |
} else { |
- _default_toolchain = "//build/toolchain/linux:$target_cpu" |
+ _default_toolchain = "//build/toolchain/cros:target" |
} |
} else if (target_os == "ios") { |
_default_toolchain = "//build/toolchain/mac:ios_clang_arm" |