Merge "Revert "adb: turn on libusb by default."" am: b22067677e

am: de931dab2d

Change-Id: I19b7d82bcc60c6942e4faa1db2ee2999a1d698a0
This commit is contained in:
Josh Gao 2017-06-26 22:13:41 +00:00 committed by android-build-merger
commit 947a301852
1 changed files with 2 additions and 2 deletions

View File

@ -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
}