crosvm/src
Alexandre Courbot c02960d6b2 virtio: video: make libvda a selectable feature
For the crosvm externalization project, we want to be able to compile
video support without libvda, which is only supported on Chrome OS.

Add an explicit "libvda" feature to crosvm and make all the libvda code
depend on that feature, so any trace of libvda can effectively be
compiled out.

For compatibility, the "libvda" feature is selected by the
"video-decoder" or "video-encoder" features.

BUG=b:161774071
BUG=b:169295147
TEST=`cargo build --features="video-decoder,video-encoder"` results in a
     crosvm binary with libvda enabled.

Change-Id: Ice3d3089b73b77f6b009400953063f2cf8f385da
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3026351
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
2021-12-02 02:19:34 +00:00
..
plugin plugin: Update use of sysutil::ScmSocket::recv_with_fd 2021-11-30 08:41:31 +00:00
argument.rs Command line key=value option parsing helpers 2021-10-27 13:06:53 +00:00
crosvm.rs virtio: video: enable runtime selection of video backend 2021-11-30 03:56:35 +00:00
gdb.rs Add missing HwBreakpointOps impl to GdbStub 2021-10-26 07:12:23 +00:00
linux.rs virtio: video: make libvda a selectable feature 2021-12-02 02:19:34 +00:00
main.rs virtio: video: make libvda a selectable feature 2021-12-02 02:19:34 +00:00
panic_hook.rs Final major RawDescriptor transition. 2020-11-13 02:38:47 +00:00