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("//services/shell/public/cpp/service.gni") | 5 import("//services/service_manager/public/cpp/service.gni") |
6 import("//services/shell/public/service_manifest.gni") | 6 import("//services/service_manager/public/service_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/public/cpp/bindings", | 18 "//mojo/public/cpp/bindings", |
19 "//mojo/public/cpp/system", | 19 "//mojo/public/cpp/system", |
20 "//services/shell/public/cpp", | 20 "//services/service_manager/public/cpp", |
21 "//services/tracing/public/cpp", | 21 "//services/tracing/public/cpp", |
22 ] | 22 ] |
23 | 23 |
24 public_deps = [ | 24 public_deps = [ |
25 "//skia", | 25 "//skia", |
26 ] | 26 ] |
27 } | 27 } |
28 | 28 |
29 service("font_service") { | 29 service("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/public/c/system", | 37 "//mojo/public/c/system", |
38 "//services/shell/public/cpp", | 38 "//services/service_manager/public/cpp", |
39 ] | 39 ] |
40 | 40 |
41 data_deps = [ | 41 data_deps = [ |
42 ":manifest", | 42 ":manifest", |
43 ] | 43 ] |
44 } | 44 } |
45 | 45 |
46 service_manifest("manifest") { | 46 service_manifest("manifest") { |
47 name = "font_service" | 47 name = "font_service" |
48 source = "manifest.json" | 48 source = "manifest.json" |
49 } | 49 } |
OLD | NEW |