crosvm/gpu_display/Cargo.toml
Dennis Kempin 6289de1d36 gpu_display: Add build targets for example binaries
This will allow them to be build via

cargo build --bin simple
cargo build --bin simple_open

It will also include them in CI builds to ensure the
code will not rot.

BUG=None
TEST=CQ

Change-Id: Id6e73f3d5535141f5b1df0edc07c0f84cd03305b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3997601
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Commit-Queue: Luigi Semenzato <semenzato@chromium.org>
2022-11-01 21:51:07 +00:00

42 lines
808 B
TOML

[package]
name = "gpu_display"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
edition = "2021"
[features]
x = []
kiwi = []
[dependencies]
data_model = { path = "../common/data_model" }
libc = "*"
base = { path = "../base" }
linux_input_sys = { path = "../linux_input_sys" }
remain = "*"
thiserror = "*"
cfg-if = "*"
serde = { version = "1", features = [ "derive" ] }
[target.'cfg(windows)'.dependencies]
anyhow = "*"
metrics = { path = "../metrics" }
num-traits = "*"
winapi = "*"
win_util = { path = "../win_util" }
sync = { path = "../common/sync" }
euclid = "*"
vm_control = { path = "../vm_control" }
[build-dependencies]
cc = "1.0.25"
pkg-config = "0.3.11"
cfg-if = "1.0.0"
[[bin]]
name = "simple"
path = "examples/simple.rs"
[[bin]]
name = "simple_open"
path = "examples/simple_open.rs"