mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
81a87845b0
Allow `Queue` to return descriptors asynchronously. Asynchronous descriptors can be used by devices to replace their poll loops with async functions. TEST=cargo test. Change-Id: I93ba4612ccf2f8ba8e77458fd5474cada705a9b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2167692 Reviewed-by: Dylan Reid <dgreid@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org> Tested-by: Dylan Reid <dgreid@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Dylan Reid <dgreid@chromium.org>
55 lines
1.6 KiB
TOML
55 lines
1.6 KiB
TOML
[package]
|
|
name = "devices"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
gpu = ["gpu_buffer", "gpu_display", "gpu_renderer"]
|
|
tpm = ["protos/trunks", "tpm2"]
|
|
video-decoder = ["libvda"]
|
|
video-encoder = ["libvda"]
|
|
wl-dmabuf = []
|
|
x = ["gpu_display/x"]
|
|
gfxstream = ["gpu"]
|
|
|
|
[dependencies]
|
|
acpi_tables = {path = "../acpi_tables" }
|
|
audio_streams = "*"
|
|
bit_field = { path = "../bit_field" }
|
|
bitflags = "1"
|
|
cros_async = { path = "../cros_async" }
|
|
data_model = { path = "../data_model" }
|
|
disk = { path = "../disk" }
|
|
enumn = { path = "../enumn" }
|
|
gpu_buffer = { path = "../gpu_buffer", optional = true }
|
|
gpu_display = { path = "../gpu_display", optional = true }
|
|
gpu_renderer = { path = "../gpu_renderer", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
kvm = { path = "../kvm" }
|
|
kvm_sys = { path = "../kvm_sys" }
|
|
libc = "*"
|
|
libcras = "*"
|
|
libvda = { version = "*", optional = true }
|
|
linux_input_sys = { path = "../linux_input_sys" }
|
|
minijail = "*"
|
|
msg_on_socket_derive = { path = "../msg_socket/msg_on_socket_derive" }
|
|
msg_socket = { path = "../msg_socket" }
|
|
net_sys = { path = "../net_sys" }
|
|
net_util = { path = "../net_util" }
|
|
p9 = { path = "../p9" }
|
|
protos = { path = "../protos", optional = true }
|
|
remain = "*"
|
|
resources = { path = "../resources" }
|
|
sync = { path = "../sync" }
|
|
sys_util = { path = "../sys_util" }
|
|
syscall_defines = { path = "../syscall_defines" }
|
|
tpm2 = { path = "../tpm2", optional = true }
|
|
usb_util = { path = "../usb_util" }
|
|
vfio_sys = { path = "../vfio_sys" }
|
|
vhost = { path = "../vhost" }
|
|
virtio_sys = { path = "../virtio_sys" }
|
|
vm_control = { path = "../vm_control" }
|
|
|
|
[dev-dependencies]
|
|
tempfile = { path = "../tempfile" }
|