Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index 76a5cf80ddd19abd68816d1b26439d28c93ee06a..bb30b17baf61fc6e4a8904e056673926e672d4f2 100644 |
--- a/net/BUILD.gn |
+++ b/net/BUILD.gn |
@@ -89,12 +89,10 @@ component("net") { |
deps = [ |
":net_resources", |
"//base", |
- "//base:i18n", |
"//base:prefs", |
"//base/third_party/dynamic_annotations", |
"//net/base/registry_controlled_domains", |
"//sdch", |
- "//third_party/icu", |
"//third_party/zlib", |
"//url", |
] |
@@ -512,19 +510,20 @@ component("net") { |
} |
if (use_icu_alternatives_on_android) { |
- deps -= [ |
+ sources += [ |
+ "base/net_string_util_icu_alternatives_android.cc", |
+ "base/net_string_util_icu_alternatives_android.h", |
+ ] |
+ } else { |
+ deps += [ |
"//base:i18n", |
"//third_party/icu", |
] |
- sources -= [ |
+ sources += [ |
"base/filename_util_icu.cc", |
"base/net_string_util_icu.cc", |
"base/net_util_icu.cc", |
] |
- sources += [ |
- "base/net_string_util_icu_alternatives_android.cc", |
- "base/net_string_util_icu_alternatives_android.h", |
- ] |
} |
} |