Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: BUILD.gn

Issue 1419583008: Add icu_assets GN rule (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 7dacd6b7fa23c16bbf0342d335135a4cafac2b46..77f8aa6a06e90fc4df8f4126f0bb96e2ee33f2bb 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -4,6 +4,10 @@
import("//third_party/icu/config.gni")
+if (is_android) {
+ import("//build/config/android/rules.gni")
+}
+
# Meta target that includes both icuuc and icui18n. Most targets want both.
# You can depend on the individually if you need to.
group("icu") {
@@ -521,6 +525,16 @@ component("icuuc") {
}
}
+if (is_android) {
+ android_assets("icu_assets") {
+ if (icu_use_data_file) {
+ sources = [ "$root_out_dir/icudtl.dat" ]
+ deps = [ ":icudata" ]
+ disable_compression = true
+ }
+ }
+}
+
# TODO(GYP) support use_system_icu.
if (icu_use_data_file) {
if (is_ios) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698