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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//services/shell/public/cpp/service.gni") | 6 import("//services/service_manager/public/cpp/service.gni") |
7 import("//services/shell/public/service_manifest.gni") | 7 import("//services/service_manager/public/service_manifest.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 | 10 |
11 source_set("lib") { | 11 source_set("lib") { |
12 sources = [ | 12 sources = [ |
13 "app_driver.cc", | 13 "app_driver.cc", |
14 "app_driver.h", | 14 "app_driver.h", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//mash/public/interfaces", | 18 "//mash/public/interfaces", |
19 "//services/ui/common:mus_common", | 19 "//services/ui/common:mus_common", |
20 ] | 20 ] |
21 | 21 |
22 public_deps = [ | 22 public_deps = [ |
23 "//base", | 23 "//base", |
24 "//services/catalog/public/interfaces", | 24 "//services/catalog/public/interfaces", |
25 "//services/shell/public/cpp:sources", | 25 "//services/service_manager/public/cpp:sources", |
26 "//services/ui/public/interfaces", | 26 "//services/ui/public/interfaces", |
27 ] | 27 ] |
28 | 28 |
29 data_deps = [ | 29 data_deps = [ |
30 "//services/ui", | 30 "//services/ui", |
31 ] | 31 ] |
32 } | 32 } |
33 | 33 |
34 service("app_driver") { | 34 service("app_driver") { |
35 sources = [ | 35 sources = [ |
36 "main.cc", | 36 "main.cc", |
37 ] | 37 ] |
38 | 38 |
39 deps = [ | 39 deps = [ |
40 ":lib", | 40 ":lib", |
41 "//base", | 41 "//base", |
42 "//mojo/public/cpp/bindings", | 42 "//mojo/public/cpp/bindings", |
43 "//services/shell/public/cpp", | 43 "//services/service_manager/public/cpp", |
44 "//services/shell/public/cpp:sources", | 44 "//services/service_manager/public/cpp:sources", |
45 ] | 45 ] |
46 | 46 |
47 data_deps = [ | 47 data_deps = [ |
48 ":manifest", | 48 ":manifest", |
49 "//mash/task_viewer", | 49 "//mash/task_viewer", |
50 ] | 50 ] |
51 } | 51 } |
52 | 52 |
53 service_manifest("manifest") { | 53 service_manifest("manifest") { |
54 name = "app_driver" | 54 name = "app_driver" |
55 source = "manifest.json" | 55 source = "manifest.json" |
56 } | 56 } |
OLD | NEW |