Browse Source

android build: allow specifying "x86_64" as target in build.sh

master
SomberNight 3 years ago
parent
commit
2231057d1e
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 4
      contrib/android/build.sh

4
contrib/android/build.sh

@ -18,11 +18,11 @@ BUILD_UID=$(/usr/bin/stat -c %u "$PROJECT_ROOT")
# check arguments
if [[ -n "$3" \
&& ( "$1" == "kivy" || "$1" == "qml" ) \
&& ( "$2" == "all" || "$2" == "armeabi-v7a" || "$2" == "arm64-v8a" || "$2" == "x86" ) \
&& ( "$2" == "all" || "$2" == "armeabi-v7a" || "$2" == "arm64-v8a" || "$2" == "x86" || "$2" == "x86_64" ) \
&& ( "$3" == "debug" || "$3" == "release" || "$3" == "release-unsigned" ) ]] ; then
info "arguments $*"
else
fail "usage: build.sh <kivy|qml> <arm64-v8a|armeabi-v7a|x86|all> <debug|release|release-unsigned>"
fail "usage: build.sh <kivy|qml> <arm64-v8a|armeabi-v7a|x86|x86_64|all> <debug|release|release-unsigned>"
exit 1
fi

Loading…
Cancel
Save