-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlazzy.sh
More file actions
27 lines (18 loc) · 713 Bytes
/
lazzy.sh
File metadata and controls
27 lines (18 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
set -e
set -x
ANDROID_NDK_ROOT=$1
SCRIPTPATH=`realpath .`
# Set the Android API levels
ANDROID_API=${2:-28}
TARGET_DIR=${3:-$SCRIPTPATH/output}
OPENSSL_DIR=${4:-$SCRIPTPATH/openssl}
# Can be android-arm, android-arm64, android-x86, android-x86_64 etc
#architecture=android-arm64
./launcher.sh $ANDROID_NDK_ROOT android-arm $ANDROID_API $TARGET_DIR $OPENSSL_DIR
#architecture=android-arm
./launcher.sh $ANDROID_NDK_ROOT android-arm64 $ANDROID_API $TARGET_DIR $OPENSSL_DIR
#architecture=android-x86
./launcher.sh $ANDROID_NDK_ROOT android-x86 $ANDROID_API $TARGET_DIR $OPENSSL_DIR
#architecture=android-x86_64
./launcher.sh $ANDROID_NDK_ROOT android-x86_64 $ANDROID_API $TARGET_DIR $OPENSSL_DIR