mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
Add a default-enabled "usb" feature to allow compiling out the emulated USB controller and host device provider when not needed (e.g. for crosvm-direct). This reduces the crosvm-direct binary size by about 400 KiB. BUG=b:173824333 TEST=cargo build --no-default-features TEST=cargo build # ensure xhci controller is added Change-Id: I1fc0eeb09c647854e5df57cd2fe7e92140256853 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2913136 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Tomasz Jeznach <tjeznach@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |