mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
eea1729c39
At the moment compiling with the "virgl_renderer" feature enabled but "x" disabled results in a link error because the virgl_renderer enables all its platforms without checking. Fix this by enabling the glx platform only if the x feature has also been enabled. BUG=b:226033718 TEST=`cargo build --features "virgl_renderer"` passes. TEST=`cargo build --features "virgl_renderer,x"` passes and enables GLX in virgl_renderer. Change-Id: I85041fc2a3db7e49415add69389bee3160ba4a5b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3539327 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
ffi | ||
src | ||
build.rs | ||
Cargo.toml |