# 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("//third_party/protobuf/proto_library.gni")
assert(is_chromeos_ash,
"Non-Chrome-OS builds must not depend on //chromeos/ash")
component("vm_plugin_dispatcher") {
output_name = "ash_vm_plugin_dispatcher"
defines = [ "IS_ASH_DBUS_VM_PLUGIN_DISPATCHER_IMPL" ]
deps = [
":proto",
"//base",
"//chromeos/dbus/common",
"//dbus",
]
sources = [
"fake_vm_plugin_dispatcher_client.cc",
"fake_vm_plugin_dispatcher_client.h",
"vm_plugin_dispatcher_client.cc",
"vm_plugin_dispatcher_client.h",
]
}
proto_library("proto") {
sources = [ "//third_party/cros_system_api/dbus/vm_plugin_dispatcher/vm_plugin_dispatcher.proto" ]
proto_out_dir = "chromeos/ash/components/dbus/vm_plugin_dispatcher"
}