2017-05-02 00:57:18 +00:00
|
|
|
[package]
|
|
|
|
name = "crosvm"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["The Chromium OS Authors"]
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
panic = 'abort'
|
2018-10-15 22:40:09 +00:00
|
|
|
overflow-checks = true
|
2017-05-02 00:57:18 +00:00
|
|
|
|
2017-11-09 01:33:46 +00:00
|
|
|
[workspace]
|
2019-01-18 12:00:36 +00:00
|
|
|
members = ["qcow_utils"]
|
2018-12-20 07:44:11 +00:00
|
|
|
exclude = [
|
|
|
|
"assertions",
|
|
|
|
"data_model",
|
|
|
|
"sync",
|
|
|
|
"sys_util",
|
|
|
|
"syscall_defines",
|
2019-01-14 22:19:04 +00:00
|
|
|
"tempdir",
|
|
|
|
"rand_ish",
|
2018-12-20 07:44:11 +00:00
|
|
|
]
|
2017-11-09 01:33:46 +00:00
|
|
|
|
2018-01-17 01:35:27 +00:00
|
|
|
[features]
|
2018-01-17 01:59:03 +00:00
|
|
|
plugin = ["plugin_proto", "crosvm_plugin", "protobuf"]
|
2018-05-10 17:25:58 +00:00
|
|
|
default-no-sandbox = []
|
2018-06-07 22:42:41 +00:00
|
|
|
wl-dmabuf = ["devices/wl-dmabuf", "gpu_buffer", "resources/wl-dmabuf"]
|
2017-09-14 02:15:43 +00:00
|
|
|
gpu = ["devices/gpu"]
|
2018-11-02 07:27:48 +00:00
|
|
|
usb-emulation = ["usb_util"]
|
2018-12-04 21:08:31 +00:00
|
|
|
sandboxed-libusb = ["usb_util/sandboxed-libusb"]
|
2018-12-20 19:49:46 +00:00
|
|
|
tpm = ["devices/tpm"]
|
2018-01-17 01:35:27 +00:00
|
|
|
|
2017-05-02 00:57:18 +00:00
|
|
|
[dependencies]
|
2018-02-14 06:09:43 +00:00
|
|
|
arch = { path = "arch" }
|
2019-01-07 18:33:48 +00:00
|
|
|
audio_streams = "*"
|
2018-05-22 18:22:13 +00:00
|
|
|
bit_field = { path = "bit_field" }
|
2017-10-06 22:26:46 +00:00
|
|
|
devices = { path = "devices" }
|
2018-04-26 00:49:56 +00:00
|
|
|
gpu_buffer = { path = "gpu_buffer", optional = true }
|
2017-05-12 23:15:53 +00:00
|
|
|
io_jail = { path = "io_jail" }
|
2017-05-02 00:57:18 +00:00
|
|
|
kvm = { path = "kvm" }
|
2018-01-17 01:59:03 +00:00
|
|
|
kvm_sys = { path = "kvm_sys" }
|
2018-09-27 17:41:11 +00:00
|
|
|
msg_socket = { path = "msg_socket" }
|
2018-12-20 07:44:11 +00:00
|
|
|
sys_util = "*"
|
2018-11-02 07:27:48 +00:00
|
|
|
usb_util = { path = "usb_util", optional = true }
|
2018-02-02 01:49:01 +00:00
|
|
|
kernel_cmdline = { path = "kernel_cmdline" }
|
2017-05-02 00:57:18 +00:00
|
|
|
kernel_loader = { path = "kernel_loader" }
|
2018-11-27 02:03:14 +00:00
|
|
|
libc = "=0.2.44"
|
2017-09-20 00:48:41 +00:00
|
|
|
byteorder = "=1.1.0"
|
2017-09-28 04:04:03 +00:00
|
|
|
net_util = { path = "net_util" }
|
|
|
|
vhost = { path = "vhost" }
|
2017-10-06 22:30:34 +00:00
|
|
|
vm_control = { path = "vm_control" }
|
2018-12-20 07:44:11 +00:00
|
|
|
data_model = "*"
|
2017-12-13 17:09:40 +00:00
|
|
|
qcow = { path = "qcow" }
|
2018-01-17 01:35:27 +00:00
|
|
|
plugin_proto = { path = "plugin_proto", optional = true }
|
2018-01-17 01:44:54 +00:00
|
|
|
crosvm_plugin = { path = "crosvm_plugin", optional = true }
|
2018-01-17 01:59:03 +00:00
|
|
|
protobuf = { version = "=1.4.3", optional = true }
|
2018-05-23 19:59:11 +00:00
|
|
|
resources = { path = "resources" }
|
2018-03-19 23:49:53 +00:00
|
|
|
p9 = { path = "p9" }
|
2018-12-04 07:37:46 +00:00
|
|
|
sync = { path = "sync" }
|
2019-01-14 22:19:04 +00:00
|
|
|
rand_ish = { path = "rand_ish" }
|
2017-05-02 00:57:18 +00:00
|
|
|
|
2017-08-31 00:07:01 +00:00
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
|
|
|
x86_64 = { path = "x86_64" }
|
2018-01-17 01:59:03 +00:00
|
|
|
|
2018-02-27 01:27:40 +00:00
|
|
|
[target.'cfg(any(target_arch = "aarch64", target_arch = "arm"))'.dependencies]
|
|
|
|
aarch64 = { path = "aarch64" }
|
|
|
|
|
2018-01-17 01:59:03 +00:00
|
|
|
[dev-dependencies]
|
2018-12-20 07:44:11 +00:00
|
|
|
sys_util = "*"
|
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
assertions = { path = "assertions" }
|
2018-12-06 19:47:18 +00:00
|
|
|
audio_streams = { path = "../../third_party/adhd/audio_streams" } # ignored by ebuild
|
2018-12-20 07:44:11 +00:00
|
|
|
data_model = { path = "data_model" }
|
|
|
|
poll_token_derive = { path = "sys_util/poll_token_derive" }
|
|
|
|
sync = { path = "sync" }
|
2018-01-31 20:54:51 +00:00
|
|
|
sys_util = { path = "sys_util" }
|
2018-12-20 07:44:11 +00:00
|
|
|
syscall_defines = { path = "syscall_defines" }
|
2019-01-14 22:19:04 +00:00
|
|
|
tempdir = { path = "tempdir" }
|