Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index 66ba36e9212f43b6d0ee3965ef6c109a537763f2..507318f81cc2405507e5cbcdbded56111562d8c2 100644 |
--- a/net/BUILD.gn |
+++ b/net/BUILD.gn |
@@ -2084,7 +2084,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" ] |