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

Unified Diff: services/icu_data/BUILD.gn

Issue 979043003: Fix shell_apptest for android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: namespace Created 5 years, 9 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
« no previous file with comments | « mojo/tools/embed/rules.gni ('k') | services/icu_data/data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/icu_data/BUILD.gn
diff --git a/services/icu_data/BUILD.gn b/services/icu_data/BUILD.gn
index 98b5a56071d16271de7e599c1fd177120e46e35d..069e451f527e39dac654ad7a0a153db40b2016ed 100644
--- a/services/icu_data/BUILD.gn
+++ b/services/icu_data/BUILD.gn
@@ -4,19 +4,12 @@
import("//mojo/public/mojo_application.gni")
import("//mojo/public/tools/bindings/mojom.gni")
+import("//mojo/tools/embed/rules.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)
+embed_file("embed_icu_data") {
+ source = "$root_build_dir/icudtl.dat"
+ namespace = "icu_data"
+ variable = "kICUData"
deps = [
"//third_party/icu:icudata",
@@ -26,8 +19,6 @@ action("embed_icu_data") {
mojo_native_application("icu_data") {
sources = [
"icu_data_impl.cc",
- "data.h",
- "$root_gen_dir/mojo/icu_data/data.cc",
]
deps = [
« no previous file with comments | « mojo/tools/embed/rules.gni ('k') | services/icu_data/data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698