OLD | NEW |
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/mojo_application_manifest.gni") | 6 import("//mojo/public/mojo_application_manifest.gni") |
7 | 7 |
8 source_set("lib") { | 8 source_set("lib") { |
9 sources = [ | 9 sources = [ |
10 "font_service_app.cc", | 10 "font_service_app.cc", |
11 "font_service_app.h", | 11 "font_service_app.h", |
12 ] | 12 ] |
13 | 13 |
14 deps = [ | 14 deps = [ |
15 "//base", | 15 "//base", |
16 "//components/font_service/public/interfaces", | 16 "//components/font_service/public/interfaces", |
17 "//mojo/common:common_base", | 17 "//mojo/common:common_base", |
18 "//mojo/platform_handle", | 18 "//mojo/platform_handle", |
19 "//mojo/public/cpp/bindings", | 19 "//mojo/public/cpp/bindings", |
20 "//mojo/services/tracing/public/cpp", | 20 "//mojo/services/tracing/public/cpp", |
21 "//mojo/shell/public/cpp", | 21 "//services/shell/public/cpp", |
22 ] | 22 ] |
23 | 23 |
24 public_deps = [ | 24 public_deps = [ |
25 "//skia", | 25 "//skia", |
26 ] | 26 ] |
27 } | 27 } |
28 | 28 |
29 mojo_native_application("font_service") { | 29 mojo_native_application("font_service") { |
30 sources = [ | 30 sources = [ |
31 "main.cc", | 31 "main.cc", |
32 ] | 32 ] |
33 | 33 |
34 deps = [ | 34 deps = [ |
35 ":lib", | 35 ":lib", |
36 "//base", | 36 "//base", |
37 "//mojo/common", | 37 "//mojo/common", |
38 "//mojo/common:common_base", | 38 "//mojo/common:common_base", |
39 "//mojo/public/cpp/bindings:callback", | 39 "//mojo/public/cpp/bindings:callback", |
40 "//mojo/shell/public/cpp", | 40 "//services/shell/public/cpp", |
41 ] | 41 ] |
42 | 42 |
43 data_deps = [ | 43 data_deps = [ |
44 ":manifest", | 44 ":manifest", |
45 ] | 45 ] |
46 } | 46 } |
47 | 47 |
48 mojo_application_manifest("manifest") { | 48 mojo_application_manifest("manifest") { |
49 application_name = "font_service" | 49 application_name = "font_service" |
50 source = "manifest.json" | 50 source = "manifest.json" |
51 } | 51 } |
OLD | NEW |