From 43cd80dfc18474f13fc53ca00a828075e69dc3de Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Fri, 27 Sep 2019 20:30:31 +0200 Subject: android-build: Add support for x86_64 This adds support for building x86_64 apks. Signed-off-by: Anton Lundin --- packaging/android/build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'packaging/android/build.sh') diff --git a/packaging/android/build.sh b/packaging/android/build.sh index a92d28a51..31cd058fe 100755 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -63,7 +63,7 @@ while [ "$#" -gt 0 ] ; do SUBSURFACE_DESKTOP=ON shift ;; - arm|arm64|x86) + arm|arm64|x86|x86_64) ARCH=$1 shift ;; @@ -129,6 +129,11 @@ elif [ "$ARCH" = "x86" ] ; then BUILDCHAIN=i686-linux-android OPENSSL_MACHINE=i686 ANDROID_ABI=x86 +elif [ "$ARCH" = "x86_64" ] ; then + QT_ARCH=$ARCH + BUILDCHAIN=x86_64-linux-android + OPENSSL_MACHINE=$ARCH + ANDROID_ABI=$ARCH fi # Verify Qt install and adjust for single-arch Qt install layout -- cgit v1.2.3-70-g09d2