-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBUILD.gn
42 lines (37 loc) · 784 Bytes
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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" ]
}