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

Side by Side Diff: services/icu_data/BUILD.gn

Issue 1987363004: Build libraries for a number of services. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove unnecessary imports Created 4 years, 7 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 | « services/files/main.cc ('k') | services/icu_data/icu_data_impl.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 import("//mojo/tools/embed/rules.gni")
8 8
9 embed_file("embed_icu_data") { 9 embed_file("embed_icu_data") {
10 source = "$root_out_dir/icudtl.dat" 10 source = "$root_out_dir/icudtl.dat"
11 namespace = "icu_data" 11 namespace = "icu_data"
12 variable = "kICUData" 12 variable = "kICUData"
13 13
14 deps = [ 14 deps = [
15 "//third_party/icu:icudata", 15 "//third_party/icu:icudata",
16 ] 16 ]
17 } 17 }
18 18
19 mojo_native_application("icu_data") { 19 mojo_native_application("icu_data") {
20 sources = [ 20 sources = [
21 "main.cc",
22 ]
23
24 deps = [
25 ":lib",
26 "//mojo/application",
27 ]
28 }
29
30 source_set("lib") {
31 sources = [
21 "icu_data_impl.cc", 32 "icu_data_impl.cc",
22 ] 33 ]
23 34
24 deps = [ 35 deps = [
25 ":embed_icu_data", 36 ":embed_icu_data",
26 "//base", 37 "//base",
27 "//mojo/application", 38 "//mojo/application",
28 "//mojo/common", 39 "//mojo/common",
29 "//mojo/environment:chromium", 40 "//mojo/environment:chromium",
30 "//mojo/services/icu_data/interfaces", 41 "//mojo/services/icu_data/interfaces",
31 ] 42 ]
32 } 43 }
OLDNEW
« no previous file with comments | « services/files/main.cc ('k') | services/icu_data/icu_data_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698