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

This commit is contained in:
Treehugger Robot 2017-06-26 21:33:31 +00:00 committed by Gerrit Code Review
commit b22067677e

View file

@ -192,7 +192,7 @@ bool should_use_libusb() {
#if defined(_WIN32) || !ADB_HOST #if defined(_WIN32) || !ADB_HOST
return false; return false;
#else #else
static bool disable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "0") == 0; static bool enable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "1") == 0;
return !disable; return enable;
#endif #endif
} }