mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-08 19:33:07 +00:00
libvda is only available on ChromeOS, and being unable to link to it with regular builds reduces our build coverage. Add a "libvda-stub" feature that, if enabled, results in dummy C stubs being build for all the exported libvda functions. This allows builds with the "libvda" feature to pass, although of course the resulting video device would immediately crash and thus should not be used. BUG=b:244619291 TEST=`cargo build --features="video-decoder,video-encoder,libvda-stub"` completes. TEST=`cargo build --features="video-decoder,video-encoder,libvda"` reports link errors against libvda. TEST=`cargo build --features all-x86_64` builds libvda and completes without error. Change-Id: I9bb60f6caf670081d67c91275727f3888272d64b Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3947844 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
ffmpeg | ||
libva | ||
libvda | ||
vp8 |