Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index b4af1e1add2ef4178cf56ba3833cf41e612c2c42..cfad8fcb3c61ec1b79c43b3b845075a3138cb5b4 100644 |
--- a/net/BUILD.gn |
+++ b/net/BUILD.gn |
@@ -2076,7 +2076,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" ] |