| # Copyright 2015 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/ui.gni") |
| import("//mojo/public/mojo_application.gni") |
| import("//mojo/public/mojo_application_manifest.gni") |
| import("//mojo/public/tools/bindings/mojom.gni") |
| |
| source_set("lib") { |
| sources = [ |
| "task_viewer.cc", |
| "task_viewer.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//mash/public/interfaces", |
| "//mojo/public/cpp/bindings", |
| "//services/catalog/public/interfaces", |
| "//services/shell/public/cpp", |
| "//services/shell/public/cpp:sources", |
| "//services/shell/public/interfaces", |
| "//services/tracing/public/cpp", |
| "//ui/resources", |
| "//ui/views", |
| "//ui/views/mus:for_mojo_application", |
| ] |
| |
| data_deps = [ |
| "//components/mus", |
| ] |
| } |
| |
| mojo_native_application("task_viewer") { |
| sources = [ |
| "main.cc", |
| ] |
| |
| deps = [ |
| ":lib", |
| "//base", |
| "//mojo/public/cpp/bindings", |
| "//services/shell/public/cpp", |
| "//services/shell/public/cpp:sources", |
| "//services/shell/public/interfaces", |
| "//ui/views/mus:for_mojo_application", |
| ] |
| |
| resources = [ "$root_out_dir/views_mus_resources.pak" ] |
| |
| data_deps = [ |
| ":manifest", |
| ] |
| } |
| |
| mojo_application_manifest("manifest") { |
| application_name = "task_viewer" |
| source = "manifest.json" |
| } |