mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 17:44:10 +00:00
028b8044bc
It's possible to compile the gpu device without virgl_renderer. In fact, in many instances, this may be required. This builds the gpu device default, but only with --gpu do I see /dev/dri/renderN128, so this should be safe. BUG=b:173630595 TEST=compile and run Cq-Depend: chromium:2592111 Change-Id: I5fbf2de8a2f818a9ca2e5ac4a1a02c7797cff927 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2592089 Tested-by: Gurchetan Singh <gurchetansingh@chromium.org> Tested-by: Daniel Verkamp <dverkamp@chromium.org> Auto-Submit: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
59 lines
1.8 KiB
TOML
59 lines
1.8 KiB
TOML
[package]
|
|
name = "devices"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
audio = []
|
|
gpu = ["gpu_buffer", "gpu_display","rutabaga_gfx"]
|
|
tpm = ["protos/trunks", "tpm2"]
|
|
video-decoder = ["libvda"]
|
|
video-encoder = ["libvda"]
|
|
wl-dmabuf = []
|
|
x = ["gpu_display/x"]
|
|
virgl_renderer = ["gpu", "rutabaga_gfx/virgl_renderer"]
|
|
gfxstream = ["gpu", "rutabaga_gfx/gfxstream"]
|
|
|
|
[dependencies]
|
|
acpi_tables = {path = "../acpi_tables" }
|
|
audio_streams = "*"
|
|
bit_field = { path = "../bit_field" }
|
|
cros_async = { path = "../cros_async" }
|
|
data_model = { path = "../data_model" }
|
|
disk = { path = "../disk" }
|
|
enumn = { path = "../enumn" }
|
|
fuse = {path = "../fuse" }
|
|
gpu_buffer = { path = "../gpu_buffer", optional = true }
|
|
gpu_display = { path = "../gpu_display", optional = true }
|
|
rutabaga_gfx = { path = "../rutabaga_gfx", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
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 = "*"
|
|
power_monitor = { path = "../power_monitor" }
|
|
protos = { path = "../protos", optional = true }
|
|
rand_ish = { path = "../rand_ish" }
|
|
remain = "*"
|
|
resources = { path = "../resources" }
|
|
sync = { path = "../sync" }
|
|
base = { path = "../base" }
|
|
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" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[dev-dependencies]
|
|
tempfile = { path = "../tempfile" }
|