Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index 651be8730e409e3104ad00d07bc8874ea084bf81..71290505a1502d12ef721695c62d0c68015c0e5e 100644 |
--- a/net/BUILD.gn |
+++ b/net/BUILD.gn |
@@ -2098,7 +2098,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" ] |