Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index 325b891cac81683b925f914a5b8fea7282b55519..9af19185a560840c830eca6b2387d3128e5384b4 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" ] |