Chromium Code Reviews| Index: base/BUILD.gn |
| diff --git a/base/BUILD.gn b/base/BUILD.gn |
| index 9c067e3748400023ce60f73a66e78931a41a4bb4..33595d2d8dec45d0ff419bc524887993d1dd1d9f 100644 |
| --- a/base/BUILD.gn |
| +++ b/base/BUILD.gn |
| @@ -5,6 +5,7 @@ |
| import("//build/config/compiler/compiler.gni") |
| import("//build/config/ui.gni") |
| import("//testing/test.gni") |
| +import("//third_party/icu/config.gni") |
| if (is_android) { |
| import("//build/config/android/rules.gni") |
| @@ -1032,6 +1033,20 @@ component("i18n") { |
| configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| } |
| +if (is_android) { |
| + android_assets("icu_assets") { |
|
brettw
2015/10/25 23:51:22
Can this be in the ICU file instead of base?
agrieve
2015/10/26 15:43:48
pkotwicz suggested this as well, but I think it's
|
| + if (icu_use_data_file) { |
| + deps = [ |
| + "//third_party/icu:icudata", |
| + ] |
| + sources = [ |
| + "$root_build_dir/icudtl.dat", |
| + ] |
| + } |
| + disable_compression = true |
| + } |
| +} |
| + |
| if (is_ios || is_win || (is_linux && !is_chromeos)) { |
| # TODO(GYP): Figure out which of these work and are needed on other platforms. |
| test("base_perftests") { |