Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index 24aeb77fc29ad30c6bde5e512f54e68042cee03d..5fa292f5c36a0630953b04072d03268dd69533c0 100644 |
--- a/net/BUILD.gn |
+++ b/net/BUILD.gn |
@@ -2080,7 +2080,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" ] |