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

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: Address review comments 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..98b5a56071d16271de7e599c1fd177120e46e35d
--- /dev/null
+++ b/services/icu_data/BUILD.gn
@@ -0,0 +1,47 @@
+# Copyright 2015 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")
+import("//mojo/public/tools/bindings/mojom.gni")
+
+action("embed_icu_data") {
+ script = "embed_icu_data.py"
+
+ inputs = [
+ "$root_build_dir/icudtl.dat",
+ ]
+
+ outputs = [
+ "$root_gen_dir/mojo/icu_data/data.cc",
+ ]
+
+ args = rebase_path(inputs + outputs, root_build_dir)
+
+ deps = [
+ "//third_party/icu:icudata",
+ ]
+}
+
+mojo_native_application("icu_data") {
+ sources = [
+ "icu_data_impl.cc",
+ "data.h",
+ "$root_gen_dir/mojo/icu_data/data.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/application",
+ "//mojo/common",
+ "//mojo/environment:chromium",
+ ":embed_icu_data",
+ ":interfaces",
+ ]
+}
+
+mojom("interfaces") {
+ sources = [
+ "icu_data.mojom",
+ ]
+}
« no previous file with comments | « services/BUILD.gn ('k') | services/icu_data/data.h » ('j') | services/icu_data/icu_data.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698