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 | 9 |
10 source_set("lib") { | 10 source_set("lib") { |
11 sources = [ | 11 sources = [ |
12 "task_viewer.cc", | 12 "task_viewer.cc", |
13 "task_viewer.h", | 13 "task_viewer.h", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 "//base", | 17 "//base", |
18 "//mash/public/interfaces", | 18 "//mash/public/interfaces", |
19 "//mojo/public/cpp/bindings", | 19 "//mojo/public/cpp/bindings", |
20 "//services/catalog/public/interfaces", | 20 "//services/catalog/public/interfaces", |
21 "//services/shell/public/cpp", | 21 "//services/service_manager/public/cpp", |
22 "//services/shell/public/cpp:sources", | 22 "//services/service_manager/public/cpp:sources", |
23 "//services/shell/public/interfaces", | 23 "//services/service_manager/public/interfaces", |
24 "//services/tracing/public/cpp", | 24 "//services/tracing/public/cpp", |
25 "//ui/resources", | 25 "//ui/resources", |
26 "//ui/views", | 26 "//ui/views", |
27 "//ui/views/mus:for_mojo_application", | 27 "//ui/views/mus:for_mojo_application", |
28 ] | 28 ] |
29 | 29 |
30 data_deps = [ | 30 data_deps = [ |
31 "//services/ui", | 31 "//services/ui", |
32 ] | 32 ] |
33 } | 33 } |
34 | 34 |
35 service("task_viewer") { | 35 service("task_viewer") { |
36 sources = [ | 36 sources = [ |
37 "main.cc", | 37 "main.cc", |
38 ] | 38 ] |
39 | 39 |
40 deps = [ | 40 deps = [ |
41 ":lib", | 41 ":lib", |
42 "//base", | 42 "//base", |
43 "//mojo/public/cpp/bindings", | 43 "//mojo/public/cpp/bindings", |
44 "//services/shell/public/cpp", | 44 "//services/service_manager/public/cpp", |
45 "//services/shell/public/cpp:sources", | 45 "//services/service_manager/public/cpp:sources", |
46 "//services/shell/public/interfaces", | 46 "//services/service_manager/public/interfaces", |
47 "//ui/views/mus:for_mojo_application", | 47 "//ui/views/mus:for_mojo_application", |
48 ] | 48 ] |
49 | 49 |
50 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 50 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
51 | 51 |
52 data_deps = [ | 52 data_deps = [ |
53 ":manifest", | 53 ":manifest", |
54 ] | 54 ] |
55 } | 55 } |
56 | 56 |
57 service_manifest("manifest") { | 57 service_manifest("manifest") { |
58 name = "task_viewer" | 58 name = "task_viewer" |
59 source = "manifest.json" | 59 source = "manifest.json" |
60 } | 60 } |
OLD | NEW |