From 0fe02af0e8ce976eaca9225d19b501f627723bd9 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 24 Apr 2020 15:19:04 -0700 Subject: 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 --- packaging/android/build.sh | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'packaging/android/build.sh') diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 42d208587..53925ef45 100755 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -315,29 +315,6 @@ if [ "$QUICK" = "" ] ; then popd fi - "${SUBSURFACE_SOURCE}"/scripts/get-dep-lib.sh singleAndroid . libusb - if ! grep -q libusb_set_android_open_callback libusb/libusb/libusb.h ; then - # Patch in our libusb callback - pushd libusb - patch -p1 < "$SUBSURFACE_SOURCE"/packaging/android/patches/libusb-android.patch - popd - fi - if [ ! -e libusb/configure ] ; then - pushd libusb - mkdir m4 - autoreconf -i - popd - fi - if [ ! -e "$PKG_CONFIG_LIBDIR/libusb-1.0.pc" ] ; then - mkdir -p libusb-build-"$ARCH" - pushd libusb-build-"$ARCH" - ../libusb/configure --host=${BUILDCHAIN} --prefix="$PREFIX" --enable-static --disable-shared --disable-udev --enable-system-log - # --enable-debug-log - make - make install - popd - fi - fi # QUICK pushd "$SUBSURFACE_SOURCE" -- cgit v1.2.3-70-g09d2