Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index 6b6dbf8297db54f0a4a407a0e15078921cfc818e..0c9a6b4c8559d1fb718b216452d08358d0262e33 100644 |
--- a/net/BUILD.gn |
+++ b/net/BUILD.gn |
@@ -2079,7 +2079,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" ] |