summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
authorDaniel Verkamp <dverkamp@chromium.org>2019-06-25 12:47:31 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-27 17:51:06 +0000
commit6160e479f6a5aad9cabf7d831ff63f4dd14e9704 (patch)
treef7f451a5ad82a3fb80680db4a833df9632e908e8 /src/main.rs
parent6a8cd101b2e81e0478fb0fe6659759bad470e213 (diff)
downloadcrosvm-6160e479f6a5aad9cabf7d831ff63f4dd14e9704.tar
crosvm-6160e479f6a5aad9cabf7d831ff63f4dd14e9704.tar.gz
crosvm-6160e479f6a5aad9cabf7d831ff63f4dd14e9704.tar.bz2
crosvm-6160e479f6a5aad9cabf7d831ff63f4dd14e9704.tar.lz
crosvm-6160e479f6a5aad9cabf7d831ff63f4dd14e9704.tar.xz
crosvm-6160e479f6a5aad9cabf7d831ff63f4dd14e9704.tar.zst
crosvm-6160e479f6a5aad9cabf7d831ff63f4dd14e9704.zip
usb: switch to new libusb_wrap_sys_device API
Replace use of our custom, patched libusb APIs with the new
libusb_wrap_sys_device() function, which has been submitted to libusb
upstream. This allows us to drop the bindings for the custom APIs (and
will also allow us to drop the libusb patch that introduces them).

For now, keep this path behind the sandboxed-libusb feature to allow
crosvm to build against older libusb versions that do not have the new
API. This should be cleaned up eventually once we are comfortable with
raising the minimum libusb version required.

BUG=b:133773289
TEST=Attach Android device to Linux VM; deploy app via adb

Change-Id: Ie249c6f3f3b4c63210dd163ca7ad03e2de8a8872
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1676601
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions