blob: 8964de567d6eabeec11624d2967405a758f05ebe [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-${libbase_ver}" ]
}
executable("vshd") {
sources = [
"vsh/vsh_forwarder.cc",
"vsh/vshd.cc",
]
pkg_deps = [
"libbrillo",
"libchrome-${libbase_ver}",
"protobuf",
"vm_protos",
]
deps = [ ":libvsh" ]
}