crosvm/gpu_display/Cargo.toml
Daniel Verkamp 732b422bdc gpu_display: find wayland-scanner with which in build.rs
This allows us to print a more useful error message if the
wayland-scanner tool is not present.

BUG=None
TEST=cargo build # with and without wayland-scanner present

Change-Id: I8909e064621cb4d71bc8ec96d76df8a2b4c4fc88
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4294676
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-02-27 21:18:21 +00:00

45 lines
868 B
TOML

[package]
name = "gpu_display"
version = "0.1.0"
authors = ["The ChromiumOS 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" ] }
zerocopy = "*"
[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"
which = "4"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "simple_open"
path = "examples/simple_open.rs"
required-features = ["x"]