blob: d32bb2f758fe55fe2b4060473b03053b0a465d53 [file] [log] [blame]
# Copyright 2018 The Fuchsia 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("//build/package.gni")
executable("bin") {
output_name = "guest"
sources = [
"balloon.cc",
"balloon.h",
"launch.cc",
"launch.h",
"list.cc",
"list.h",
"main.cc",
"serial.cc",
"serial.h",
"socat.cc",
"socat.h",
"vshc.cc",
"vshc.h",
]
deps = [
"//sdk/fidl/fuchsia.sys",
"//sdk/fidl/fuchsia.virtualization",
"//sdk/lib/sys/cpp",
"//src/lib/fsl",
"//src/virtualization/lib/guest_config",
"//src/virtualization/lib/vsh:util",
"//src/virtualization/packages/biscotti_guest/third_party/protos:vsh_cc_proto",
"//third_party/protobuf:protobuf_lite",
"//zircon/public/lib/fit",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/virtio",
]
public_deps = [ "//sdk/fidl/fuchsia.hardware.pty:fuchsia.hardware.pty_llcpp" ]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}
package("guest") {
deps = [ ":bin" ]
binaries = [
{
name = "guest"
shell = true
},
{
name = "vsh"
shell = true
source = "guest"
},
]
}