Merge "Revert "adb: turn on libusb by default."" am: b22067677e am: de931dab2d am: 947a301852
am: cb39742d3a
Change-Id: Ibaec7fe7dabb5d640b48acf0b9e5b7d2688712bd
This commit is contained in:
commit
16d85915ca
1 changed files with 2 additions and 2 deletions
|
|
@ -192,7 +192,7 @@ bool should_use_libusb() {
|
|||
#if defined(_WIN32) || !ADB_HOST
|
||||
return false;
|
||||
#else
|
||||
static bool disable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "0") == 0;
|
||||
return !disable;
|
||||
static bool enable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "1") == 0;
|
||||
return enable;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue