Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index deb27772265170f84a8d0074b3a6e83f6f4b4cfd..e632bd89579ad3bff78a1a8266e567ed7e4fdb13 100644 |
--- a/net/BUILD.gn |
+++ b/net/BUILD.gn |
@@ -2070,7 +2070,8 @@ component("net") { |
} |
# ICU support. |
- if (use_platform_icu_alternatives) { |
+ if (use_platform_icu_alternatives && |
+ current_toolchain == default_toolchain) { |
if (is_android) { |
# Use ICU alternative on Android. |
sources += [ "base/net_string_util_icu_alternatives_android.cc" ] |