| # Copyright 2021 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/chromeos/ui_mode.gni") |
| import("//mojo/public/tools/bindings/mojom.gni") |
| |
| assert(is_chromeos_ash) |
| |
| static_library("vm") { |
| sources = [ |
| "vm_ui.cc", |
| "vm_ui.h", |
| ] |
| |
| deps = [ |
| ":mojo_bindings", |
| "//base", |
| "//chrome/app:generated_resources", |
| "//chrome/browser/ash/plugin_vm", |
| "//chrome/browser/profiles:profile", |
| "//chrome/browser/resources/chromeos/vm:resources", |
| "//chrome/browser/ui/webui:webui_util", |
| "//chrome/common", |
| "//components/strings:components_strings", |
| "//content/public/browser", |
| "//content/public/common", |
| "//ui/base", |
| "//ui/webui", |
| ] |
| } |
| |
| mojom("mojo_bindings") { |
| sources = [ "vm.mojom" ] |
| |
| public_deps = [ "//chrome/browser/ash/guest_os:guest_os_diagnostics_mojom" ] |
| webui_module_path = "/" |
| } |