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>
This commit is contained in:
Dennis Kempin 2022-11-01 21:25:48 +00:00 committed by crosvm LUCI
parent 3002df7872
commit 6289de1d36

View file

@ -32,3 +32,11 @@ vm_control = { path = "../vm_control" }
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"