mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-10-23 04:46:29 +00:00
f63214bda1
This creates a makefile for rutabaga_gfx. Most package managers seem to still use Cargo to compile, but not packagement. We need to install headers and the library. I looked into to cargo-c, but it was just easier to open code it. BUG=b:173630595 TEST=sudo make install export LD_LIBRARY_PATH=/usr/local/lib make and run rutabaga_test Change-Id: Ibd68ecd0c6215cc36bc104d843847ee47d02123e Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4335238 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
39 lines
1 KiB
TOML
39 lines
1 KiB
TOML
[package]
|
|
name = "rutabaga_gfx"
|
|
version = "0.1.1-alpha.1"
|
|
authors = ["The ChromiumOS Authors + Android Open Source Project"]
|
|
edition = "2021"
|
|
description = "[highly unstable] Handling virtio-gpu protocols"
|
|
license-file = "LICENSE"
|
|
|
|
[features]
|
|
gfxstream = []
|
|
gfxstream_stub = []
|
|
virgl_renderer = []
|
|
virgl_renderer_next = []
|
|
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"
|
|
data_model = { path = "../common/data_model", version = "0.1.1-alpha.1"}
|
|
libc = "0.2.116"
|
|
remain = "0.2"
|
|
thiserror = "1.0.23"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
zerocopy = "*"
|
|
|
|
[target.'cfg(not(target_os = "fuchsia"))'.dependencies]
|
|
base = { path = "../base" }
|
|
|
|
|
|
# To build latest Vulkano, change version to git = "https:/github.com/vulkano-rs/vulkano.git"
|
|
# vulkano = { version = "0.31.0", optional = true }
|
|
|
|
[build-dependencies]
|
|
pkg-config = "0.3"
|
|
anyhow = "1.0.57"
|