mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 09:33:01 +00:00
3893a1dcbe
Define `SharedMemory` trait, implement it for `base::SharedMemory`, and use it for `ShmStreamSource::new_stream()` so that we can pass on `base::SharedMemory` without exposing `base` to libcras. Note that we implement the trait for `base::SharedMemory` in `base` crate instead of in `audio_streams`, which means `base` depends on `audio_streams`, because `audio_streams` is available for non-crosvm projects while `base` isn't. The corresponding CRAS change is crrev.com/c/3251123. BUG=b:194137301, b:204444445 TEST=cargo test --all-features Change-Id: I2430d9881d98032592c9f9202d70deb22e006f63 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3251820 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
assertions | ||
audio_streams | ||
base | ||
cros-fuzz | ||
cros_async | ||
data_model | ||
io_uring | ||
p9 | ||
sync | ||
sys_util | ||
README.md |
Crosvm General Purpose Libraries
The crates in this folder are general purpose libraries used by other projects in ChromeOS as well.
To make them accessible independendly of crosvm, each of these crates is excluded from the crosvm workspace.