mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
6f6854312d
These bindings are needed to allocate dmabufs that will be used for accelerated rendering and zero-copy virtio-wayland support. TEST=cargo test -p gpu_buffer BUG=chromium:837073 Change-Id: I96d7bcdeaa1eda616a25fdcfedcbb734cd585ae7 Reviewed-on: https://chromium-review.googlesource.com/1029410 Commit-Ready: David Reveman <reveman@chromium.org> Tested-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "crosvm"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
panic = 'abort'
|
|
|
|
[workspace]
|
|
|
|
[features]
|
|
plugin = ["plugin_proto", "crosvm_plugin", "protobuf"]
|
|
|
|
[dependencies]
|
|
arch = { path = "arch" }
|
|
devices = { path = "devices" }
|
|
device_manager = { path = "device_manager" }
|
|
gpu_buffer = { path = "gpu_buffer", optional = true }
|
|
io_jail = { path = "io_jail" }
|
|
kvm = { path = "kvm" }
|
|
kvm_sys = { path = "kvm_sys" }
|
|
sys_util = { path = "sys_util" }
|
|
kernel_cmdline = { path = "kernel_cmdline" }
|
|
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 }
|
|
crosvm_plugin = { path = "crosvm_plugin", optional = true }
|
|
protobuf = { version = "=1.4.3", optional = true }
|
|
qcow_utils = { path = "qcow_utils" }
|
|
|
|
[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]
|
|
rand = "=0.3.20"
|
|
sys_util = { path = "sys_util" }
|