blob: bf47bd175d291750fe62a1672d943d39cc9965a9 [file] [log] [blame]
# Copyright 2019 The Chromium OS 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("//common-mk/pkg_config.gni")
group("all") {
deps = []
if (use.kvm_host) {
deps += [ "//vm_tools/host" ]
}
if (!use.kvm_host) {
deps += [ "//vm_tools/guest" ]
}
}
static_library("libvsh") {
sources = [ "vsh/utils.cc" ]
pkg_deps = [ "libchrome" ]
}
executable("vshd") {
sources = [
"vsh/vsh_forwarder.cc",
"vsh/vshd.cc",
]
pkg_deps = [
"libbrillo",
"libchrome",
"protobuf",
"vm_protos",
]
deps = [ ":libvsh" ]
}
static_library("libvm_tools_common") {
sources = [
"common/naming.cc",
"common/spawn_util.cc",
]
pkg_deps = [ "libchrome" ]
}