commit | 839577a79665920e42c45157ce8e7e506f798a89 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@chromium.org> | Wed Oct 12 12:18:50 2022 +0900 |
committer | crosvm LUCI <crosvm-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 21 13:57:31 2022 +0000 |
tree | d2d421a68d092f0d55790b94147029e099da0c15 | |
parent | 52b5462ba8d0f75f01746f02597df54f34437a94 [diff] |
media: libvda: allow to build without linking to libvda 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>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the Chrome OS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on Chrome OS devices.