| # 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") |
| import("//tools/grit/repack.gni") |
| |
| source_set("lib") { |
| sources = [ |
| "app_driver.cc", |
| "app_driver.h", |
| ] |
| |
| deps = [ |
| "//components/mus/common:mus_common", |
| "//mash/public/interfaces", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//components/mus/public/interfaces", |
| "//services/catalog/public/interfaces", |
| "//services/shell/public/cpp:sources", |
| ] |
| |
| data_deps = [ |
| "//components/mus", |
| ] |
| } |
| |
| mojo_native_application("app_driver") { |
| sources = [ |
| "main.cc", |
| ] |
| |
| deps = [ |
| ":lib", |
| "//base", |
| "//mojo/public/cpp/bindings", |
| "//services/shell/public/cpp", |
| "//services/shell/public/cpp:sources", |
| ] |
| |
| data_deps = [ |
| ":manifest", |
| "//mash/task_viewer", |
| ] |
| } |
| |
| mojo_application_manifest("manifest") { |
| application_name = "app_driver" |
| source = "manifest.json" |
| } |