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("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
7 import("//mojo/public/mojo_application_manifest.gni") | 7 import("//mojo/public/mojo_application_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 "//mojo/public/cpp/bindings", | 18 "//mojo/public/cpp/bindings", |
19 "//mojo/services/catalog/public/interfaces", | 19 "//mojo/services/catalog/public/interfaces", |
20 "//mojo/services/tracing/public/cpp", | 20 "//mojo/services/tracing/public/cpp", |
21 "//mojo/shell/public/cpp", | 21 "//services/shell/public/cpp", |
22 "//mojo/shell/public/cpp:sources", | 22 "//services/shell/public/cpp:sources", |
23 "//mojo/shell/public/interfaces", | 23 "//services/shell/public/interfaces", |
24 "//ui/resources", | 24 "//ui/resources", |
25 "//ui/views", | 25 "//ui/views", |
26 "//ui/views/mus:for_mojo_application", | 26 "//ui/views/mus:for_mojo_application", |
27 ] | 27 ] |
28 | 28 |
29 data_deps = [ | 29 data_deps = [ |
30 "//components/mus", | 30 "//components/mus", |
31 ] | 31 ] |
32 } | 32 } |
33 | 33 |
34 mojo_native_application("task_viewer") { | 34 mojo_native_application("task_viewer") { |
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 "//mojo/shell/public/cpp", | 43 "//services/shell/public/cpp", |
44 "//mojo/shell/public/cpp:sources", | 44 "//services/shell/public/cpp:sources", |
45 "//mojo/shell/public/interfaces", | 45 "//services/shell/public/interfaces", |
46 "//ui/views/mus:for_mojo_application", | 46 "//ui/views/mus:for_mojo_application", |
47 ] | 47 ] |
48 | 48 |
49 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 49 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
50 | 50 |
51 data_deps = [ | 51 data_deps = [ |
52 ":manifest", | 52 ":manifest", |
53 ] | 53 ] |
54 } | 54 } |
55 | 55 |
56 mojo_application_manifest("manifest") { | 56 mojo_application_manifest("manifest") { |
57 application_name = "task_viewer" | 57 application_name = "task_viewer" |
58 source = "manifest.json" | 58 source = "manifest.json" |
59 } | 59 } |
OLD | NEW |