Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index 79a79db5d9f118267aec02f25173d3db3a68a49d..eed2ea2fd6e277e4408ecf3798b34845220a0e7e 100644 |
--- a/net/BUILD.gn |
+++ b/net/BUILD.gn |
@@ -2107,7 +2107,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" ] |