| 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:sources", |
| 22 "//services/service_manager/public/interfaces", | 22 "//services/service_manager/public/interfaces", |
| 23 "//services/tracing/public/cpp", | 23 "//services/tracing/public/cpp", |
| 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 | |
| 29 data_deps = [ | |
| 30 "//services/ui", | |
| 31 ] | |
| 32 } | 28 } |
| 33 | 29 |
| 34 service("task_viewer") { | 30 service("task_viewer") { |
| 35 sources = [ | 31 sources = [ |
| 36 "main.cc", | 32 "main.cc", |
| 37 ] | 33 ] |
| 38 | 34 |
| 39 deps = [ | 35 deps = [ |
| 40 ":lib", | 36 ":lib", |
| 41 "//base", | 37 "//base", |
| 42 "//mojo/public/cpp/bindings", | 38 "//mojo/public/cpp/bindings", |
| 43 "//services/service_manager/public/cpp", | 39 "//services/service_manager/public/cpp", |
| 44 "//services/service_manager/public/cpp:sources", | 40 "//services/service_manager/public/cpp:sources", |
| 45 "//services/service_manager/public/interfaces", | 41 "//services/service_manager/public/interfaces", |
| 46 "//ui/views/mus:for_mojo_application", | 42 "//ui/views/mus:for_mojo_application", |
| 47 ] | 43 ] |
| 48 | 44 |
| 49 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 45 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
| 50 | 46 |
| 51 data_deps = [ | 47 data_deps = [ |
| 52 ":manifest", | 48 ":manifest", |
| 53 ] | 49 ] |
| 54 } | 50 } |
| 55 | 51 |
| 56 service_manifest("manifest") { | 52 service_manifest("manifest") { |
| 57 name = "task_viewer" | 53 name = "task_viewer" |
| 58 source = "manifest.json" | 54 source = "manifest.json" |
| 59 } | 55 } |
| OLD | NEW |