mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-08 19:33:07 +00:00
Stub the required parts of libcras so that upstream builds with audio_cras feature BUG=b:244618503 TEST=cargo build --features audio_cras Change-Id: I21eb3bcb9a61990740b1419f124401878619481e Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3911099 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Vineeth Pillai <vineethrp@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
Stub crate for libcras
libcras is used by ChromeOS to play audio through the cras server.
In ChromeOS builds, the audio_cras
cargo feature is enabled and this crate is replaced with the
actual libcras implementation.
On other platforms, the feature flag will remain disabled and this crate is used to satisfy cargo dependencies on libcras.