compile.sh: allow to override API version

This commit is contained in:
Alibek Omarov
2019-11-07 07:08:06 +03:00
parent e18d0976ef
commit fa4c023961
3 changed files with 5 additions and 3 deletions

View File

@@ -19,7 +19,9 @@ if [ -z "$ARCHS" ]; then
ARCHS="armeabi-v7a armeabi x86"
fi
API=9
if [ -z "$API" ]; then
API=9
fi
ROOT="$PWD" # compile.sh must be run from root of android project sources
if [ -z "$1" ]; then