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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « mojo/tools/embed/rules.gni ('k') | services/icu_data/data.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 import("//mojo/tools/embed/rules.gni")
7 8
8 action("embed_icu_data") { 9 embed_file("embed_icu_data") {
9 script = "embed_icu_data.py" 10 source = "$root_build_dir/icudtl.dat"
10 11 namespace = "icu_data"
11 inputs = [ 12 variable = "kICUData"
12 "$root_build_dir/icudtl.dat",
13 ]
14
15 outputs = [
16 "$root_gen_dir/mojo/icu_data/data.cc",
17 ]
18
19 args = rebase_path(inputs + outputs, root_build_dir)
20 13
21 deps = [ 14 deps = [
22 "//third_party/icu:icudata", 15 "//third_party/icu:icudata",
23 ] 16 ]
24 } 17 }
25 18
26 mojo_native_application("icu_data") { 19 mojo_native_application("icu_data") {
27 sources = [ 20 sources = [
28 "icu_data_impl.cc", 21 "icu_data_impl.cc",
29 "data.h",
30 "$root_gen_dir/mojo/icu_data/data.cc",
31 ] 22 ]
32 23
33 deps = [ 24 deps = [
34 "//base", 25 "//base",
35 "//mojo/application", 26 "//mojo/application",
36 "//mojo/common", 27 "//mojo/common",
37 "//mojo/environment:chromium", 28 "//mojo/environment:chromium",
38 ":embed_icu_data", 29 ":embed_icu_data",
39 ":interfaces", 30 ":interfaces",
40 ] 31 ]
41 } 32 }
42 33
43 mojom("interfaces") { 34 mojom("interfaces") {
44 sources = [ 35 sources = [
45 "icu_data.mojom", 36 "icu_data.mojom",
46 ] 37 ]
47 } 38 }
OLDNEW
« 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