crosvm/gpu_display/Cargo.toml
Daniel Verkamp 87fd7a8d40 gpu_display: add basic error handling to examples
This helps diagnose problems if the examples don't work (for example,
simple_open requires the `x` feature to be enabled).

BUG=None
TEST=run simple and simple_open examples

Change-Id: Ic115d48d93531bf2313948597a49a003538949cd
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4029530
Reviewed-by: Zihan Chen <zihanchen@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2022-11-16 19:33:35 +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]
anyhow = "*"
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]
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"