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

Unified Diff: services/icu_data/BUILD.gn

Issue 826093004: Support ICU on Android (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months 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
Index: services/icu_data/BUILD.gn
diff --git a/services/icu_data/BUILD.gn b/services/icu_data/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..a4d694ebc3b5d97d9d1b942cedf4a7f2d9b50ab8
--- /dev/null
+++ b/services/icu_data/BUILD.gn
@@ -0,0 +1,39 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//mojo/public/mojo_application.gni")
+
+action("embed_icu_data") {
+ script = "embed_icu_data.py"
+
+ inputs = [
+ "$root_build_dir/icudtl.dat",
jamesr 2015/01/08 01:23:08 what produces this file? will this change every ti
abarth-chromium 2015/01/08 04:18:12 There are several checked into third_party/icu dep
+ ]
+
+ outputs = [
+ "$root_gen_dir/mojo/icu/data.c",
+ ]
+
+ args = rebase_path(inputs + outputs, root_build_dir)
+
+ deps = [
+ "//third_party/icu:icudata",
+ ]
+}
+
+mojo_native_application("icu_data") {
+ sources = [
+ "main.cc",
+ "$root_gen_dir/mojo/icu/data.c",
+ ]
+
+ deps = [
+ ":embed_icu_data",
+ "//base",
+ "//mojo/application",
+ "//mojo/common",
+ "//mojo/environment:chromium",
+ "//mojo/services/icu_data/public/interfaces",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698