crosvm/libcras_stub
Vineeth Pillai aea39132e8 libcras_stub: Stub implementation
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>
2022-09-21 23:36:06 +00:00
..
src libcras_stub: Stub implementation 2022-09-21 23:36:06 +00:00
Cargo.toml libcras_stub: Stub implementation 2022-09-21 23:36:06 +00:00
README.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00

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.