mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-10-25 13:36:05 +00:00
865323d0ed
This slightly advances the use of fakes to test higher level application logic. The fakes are rudimentary at this point, but I wanted to get feedback on the addition of generics in order to facilitate swaping concrete implementations out with fakes in higher level code. BUG=none TEST=./build_test and cargo test -p crosvm -p data_model -p syscall_defines -p kernel_loader -p net_util -p x86_64 -p virtio_sys -p kvm_sys -p vhost -p io_jail -p net_sys -p sys_util -p kvm Change-Id: Ib64581014391f49cff30ada10677bbbcd0088f20 Reviewed-on: https://chromium-review.googlesource.com/689740 Commit-Ready: Jason Clinton <jclinton@chromium.org> Tested-by: Jason Clinton <jclinton@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org>
33 lines
730 B
TOML
33 lines
730 B
TOML
[package]
|
|
name = "crosvm"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
panic = 'abort'
|
|
|
|
[workspace]
|
|
|
|
[features]
|
|
plugin = ["plugin_proto"]
|
|
|
|
[dependencies]
|
|
devices = { path = "devices" }
|
|
io_jail = { path = "io_jail" }
|
|
kvm = { path = "kvm" }
|
|
sys_util = { path = "sys_util" }
|
|
kernel_loader = { path = "kernel_loader" }
|
|
libc = "=0.2.34"
|
|
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 }
|
|
qcow_utils = { path = "qcow_utils" }
|
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
|
x86_64 = { path = "x86_64" }
|