ae5118f5c7
Run tests for sys_util_core, poll_token_derive and balloon_control on windows. Using dotfiles to disable/serialize test runs of a subset of crates does not work well with third party crates as it forces us to commit the dot file to the crate. The patch modifies and uses the script that runs linux tests. This patch also allows us to - build/test child crate even if parent crate has disabled build/test. - avoid building crosvm if it is not explicitly specified. RIP short lived .windows_build_test_skip. You allowed us to run noop kokoro tests. Test: py .\tools\impl\test_runner.py --arch x86_64 Bug: b:215610772 Change-Id: Icc6d04ffd7c0c33d4f60aeac16fc7d23881c387d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3459809 Reviewed-by: Dennis Kempin <denniskempin@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Vikram Auradkar <auradkar@google.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml | ||
README.md |
Libvda Rust wrapper
Note: This crate is specific to ChromeOS and requires the native (libvda)[https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/arc/vm/libvda] library at link time.
Rust wrapper for libvda. This library is used to enable communication with Chrome's GPU process to perform hardware accelerated decoding and encoding. It is currently in development to be used by crosvm's virtio-video device.
Building for the host environment
You can also execute cargo
directly for faster build and tests. This would be useful when you are
developing this crate. Since this crate depends on libvda.so, you need to install it to host
environment first.
(chroot)$ sudo emerge chromeos-base/libvda # Install libvda.so to host.
# Build
(chroot)$ cargo build
# Unit tests
(chroot)$ cargo test
Updating generated bindings
src/bindings.rs
is automatically generated from libvda_common.h
. src/decode/bindings.rs
is
automatically generated from libvda_decode.h
. src/encode/bindings.rs
is automatically generated
from libvda_encode.h
.
See the header of the bindings file for the generation command.