mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-10-23 04:46:29 +00:00
9c105ec4f6
This is mostly to use SockType::SeqPacket in nix, since std::os::unix::net for some reason does not support SeqPacket yet. As predicted in crrev.com/c/5645904, not using SeqPacket does lead to test failures for multi-threaded tests, so we actually need it for kumquat. Note RutabagaStream takes it's naming inspiration from gfxstream, not UnixStream. Also, since RutabagaStream is more cross-platform friendly now, remove the "ipc" feature. It's now always compiled. BUG=b:354706346 TEST=tfw-pkg/bin/testfw_app --gfx egl --gl_api=gles \ -w 1280 -h 720 -t gl_driver2_off Change-Id: I0aebbe4239ba78c70f9049ff8b3fcd0e5fc27d28 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5747101 Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "rutabaga_gfx"
|
|
version = "0.1.3"
|
|
authors = ["The ChromiumOS Authors + Android Open Source Project"]
|
|
edition = "2021"
|
|
description = "Handling virtio-gpu protocols"
|
|
license-file = "LICENSE"
|
|
|
|
[features]
|
|
gfxstream = []
|
|
gfxstream_stub = []
|
|
virgl_renderer = []
|
|
minigbm = []
|
|
# To try out Vulkano, delete the following line and uncomment the line in "dependencies". Vulkano
|
|
# features are just a prototype and not integrated yet into the ChromeOS build system.
|
|
vulkano = []
|
|
x = []
|
|
|
|
[dependencies]
|
|
cfg-if = "1.0.0"
|
|
libc = "0.2.116"
|
|
remain = "0.2"
|
|
thiserror = "1.0.23"
|
|
zerocopy = { version = "0.7", features = ["derive"] }
|
|
|
|
log = "0.4"
|
|
|
|
# To build latest Vulkano, change version to git = "https://github.com/vulkano-rs/vulkano.git"
|
|
# vulkano = { version = "0.33.0", optional = true }
|
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
|
nix = { version = "0.28", features = ["event", "feature", "fs", "mman", "socket", "uio", "ioctl"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = {version = "0.3", features = ["winnt", "handleapi", "processthreadsapi", "winbase"]}
|
|
|
|
[build-dependencies]
|
|
pkg-config = "0.3"
|
|
anyhow = "1.0.57"
|