Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index 01c56f4445816d2fce8b097c03323a6195ad0ddd..bea9d1391f272ccbd378b5ea7f6e13cf41b4346a 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" ] |