mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-25 12:17:44 +00:00
7df5a0ef1a
make open_fd patch optional. if sandboxed-libusb feature is not selected, open_fd is not required. In this case, the code must have access to /dev/bus/usb, and not external fd is needed. BUG=chromium:831850 TEST=cargo test Change-Id: I21fa87dd15d08a03c2fe2b190559abbe6f63dcd5 Reviewed-on: https://chromium-review.googlesource.com/1375019 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Jingkui Wang <jkwang@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org>
57 lines
1.6 KiB
TOML
57 lines
1.6 KiB
TOML
[package]
|
|
name = "crosvm"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
panic = 'abort'
|
|
overflow-checks = true
|
|
|
|
[workspace]
|
|
members = ["9s", "qcow_utils"]
|
|
|
|
[features]
|
|
plugin = ["plugin_proto", "crosvm_plugin", "protobuf"]
|
|
default-no-sandbox = []
|
|
wl-dmabuf = ["devices/wl-dmabuf", "gpu_buffer", "resources/wl-dmabuf"]
|
|
gpu = ["devices/gpu"]
|
|
usb-emulation = ["usb_util"]
|
|
sandboxed-libusb = ["usb_util/sandboxed-libusb"]
|
|
|
|
[dependencies]
|
|
arch = { path = "arch" }
|
|
bit_field = { path = "bit_field" }
|
|
devices = { path = "devices" }
|
|
gpu_buffer = { path = "gpu_buffer", optional = true }
|
|
io_jail = { path = "io_jail" }
|
|
kvm = { path = "kvm" }
|
|
kvm_sys = { path = "kvm_sys" }
|
|
msg_socket = { path = "msg_socket" }
|
|
sys_util = { path = "sys_util" }
|
|
usb_util = { path = "usb_util", optional = true }
|
|
kernel_cmdline = { path = "kernel_cmdline" }
|
|
kernel_loader = { path = "kernel_loader" }
|
|
libc = "=0.2.44"
|
|
byteorder = "=1.1.0"
|
|
net_util = { path = "net_util" }
|
|
vhost = { path = "vhost" }
|
|
vm_control = { path = "vm_control" }
|
|
data_model = { path = "data_model" }
|
|
qcow = { path = "qcow" }
|
|
plugin_proto = { path = "plugin_proto", optional = true }
|
|
crosvm_plugin = { path = "crosvm_plugin", optional = true }
|
|
protobuf = { version = "=1.4.3", optional = true }
|
|
resources = { path = "resources" }
|
|
p9 = { path = "p9" }
|
|
rand = "=0.3.20"
|
|
sync = { path = "sync" }
|
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
|
x86_64 = { path = "x86_64" }
|
|
|
|
[target.'cfg(any(target_arch = "aarch64", target_arch = "arm"))'.dependencies]
|
|
aarch64 = { path = "aarch64" }
|
|
|
|
[dev-dependencies]
|
|
sys_util = { path = "sys_util" }
|