aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/android/build.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-24 15:19:04 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-25 13:18:41 -0700
commit0fe02af0e8ce976eaca9225d19b501f627723bd9 (patch)
treeeb01afa3817ad16a5880bf2a665a2545294da9e7 /packaging/android/build.sh
parentd3e495efd006abe5af03e396499bfcf60135a3e2 (diff)
downloadsubsurface-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 'packaging/android/build.sh')
-rwxr-xr-xpackaging/android/build.sh23
1 files changed, 0 insertions, 23 deletions
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"