diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-04-24 15:19:04 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-25 13:18:41 -0700 |
commit | 0fe02af0e8ce976eaca9225d19b501f627723bd9 (patch) | |
tree | eb01afa3817ad16a5880bf2a665a2545294da9e7 /core | |
parent | d3e495efd006abe5af03e396499bfcf60135a3e2 (diff) | |
download | subsurface-0fe02af0e8ce976eaca9225d19b501f627723bd9.tar.gz |
build-system/android: remove libusb at QTest
We no longer use libusb to access USB devices on Android, therefore
there's no point including libusb in our build. Also, we have never even
attempted to run the tests on Android, so let's not even pretend to
support building them.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/android.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/core/android.cpp b/core/android.cpp index d1a1570fb..34d4ac46e 100644 --- a/core/android.cpp +++ b/core/android.cpp @@ -8,7 +8,6 @@ #include <sys/types.h> #include <dirent.h> #include <fcntl.h> -#include <libusb.h> #include <errno.h> #include <unistd.h> #include <zip.h> @@ -38,13 +37,6 @@ double system_divelist_default_font_size = -1; int get_usb_fd(uint16_t idVendor, uint16_t idProduct); void subsurface_OS_pref_setup(void) { - // Abusing this function to get a decent place where we can wire in - // our open callback into libusb -#ifdef libusb_android_open_callback_func - libusb_set_android_open_callback(get_usb_fd); -#elif __ANDROID__ -#error we need libusb_android_open_callback -#endif } bool subsurface_ignore_font(const char *font) |