chromium/chrome/browser/ui/webui/ash/vm/BUILD.gn

# 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:resources",
    "//chrome/browser/ash/plugin_vm",
    "//chrome/browser/profiles:profile",
    "//chrome/browser/ui/webui",
    "//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 = "/"

  # For Closure Compiler targets in chrome/browser/resources/ash/vm
  generate_webui_js_bindings = true
}