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/service_manager/public/cpp/service.gni") | 6 import("//services/service_manager/public/cpp/service.gni") |
7 import("//services/service_manager/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/service_manager/public/cpp:sources", | 21 "//services/service_manager/public/cpp", |
22 "//services/service_manager/public/interfaces", | 22 "//services/service_manager/public/interfaces", |
23 "//ui/resources", | 23 "//ui/resources", |
24 "//ui/views", | 24 "//ui/views", |
25 "//ui/views/mus:for_mojo_application", | 25 "//ui/views/mus:for_mojo_application", |
26 ] | 26 ] |
27 } | 27 } |
28 | 28 |
29 service("task_viewer") { | 29 service("task_viewer") { |
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/cpp/bindings", | 37 "//mojo/public/cpp/bindings", |
38 "//services/service_manager/public/cpp", | 38 "//services/service_manager/public/cpp", |
39 "//services/service_manager/public/cpp:sources", | 39 "//services/service_manager/public/cpp", |
40 "//services/service_manager/public/interfaces", | 40 "//services/service_manager/public/interfaces", |
41 "//ui/views/mus:for_mojo_application", | 41 "//ui/views/mus:for_mojo_application", |
42 ] | 42 ] |
43 | 43 |
44 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 44 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
45 } | 45 } |
46 | 46 |
47 service_manifest("manifest") { | 47 service_manifest("manifest") { |
48 name = "task_viewer" | 48 name = "task_viewer" |
49 source = "manifest.json" | 49 source = "manifest.json" |
50 } | 50 } |
OLD | NEW |