crosvm/gpu_display
Daniel Verkamp 870a4e036a gpu_display: only build Wayland code on Linux
Refactor the build.rs platform detection to explicitly select the
Wayland support code when building for Linux (instead of skipping it
only for Windows).

BUG=None
TEST=tools/dev_container tools/presubmit
TEST=cargo build -p gpu_display --target=aarch64-apple-darwin

Change-Id: I9437acdc2e2439d0da094887a5a8f520f3279399
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5005295
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Cody Schuffelen <schuffelen@google.com>
2023-11-03 20:20:08 +00:00
..
examples Replace #[cfg(unix)] with #[cfg(any(target_os = "android", target_os = "linux"))] 2023-10-11 00:43:29 +00:00
protocol health-check: Add check for newline at ends of files 2022-08-18 00:17:04 +00:00
src Allow gpu_display examples to be compiled without the kiwi feature 2023-10-24 23:19:03 +00:00
build.rs gpu_display: only build Wayland code on Linux 2023-11-03 20:20:08 +00:00
Cargo.toml gpu_display: fix Cargo feature selection. 2023-10-24 23:18:38 +00:00