-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.sh
34 lines (26 loc) · 903 Bytes
/
settings.sh
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
28
29
30
31
32
33
#!/bin/sh
ANDROID_SDK_ROOT="/opt/android_sdk/android-sdk-linux"
ANDROID_NDK_ROOT="/opt/android_ndk/android-ndk-r15b"
PLATFORMS="
android-16
android-17
android-18
android-19
android-21
android-22
android-23
android-24
android-26
"
ARCHITECTURES="arm arm64 x86"
# Number of compilation processes during building of each package:
JOBS=$(nproc 2>/dev/null || echo 1)
# JOBS=4
# Default list of packages:
LOCAL_PKG_LIST="openssl ffmpeg freeglut sdl2"
# List of packages which should provide static libraries
# (all other packages will provide shared libraries):
STATIC_PKG_LIST="ffmpeg freeglut sdl2 x264"
# Override or add extra settings:
EXTRA_SETTINGS_FILE=$(ls "${MAIN_DIR}"/settings.sh.* 2> /dev/null | sort -V | tail -n1)
[ ! -z "${EXTRA_SETTINGS_FILE}" ] && . "${EXTRA_SETTINGS_FILE}" || true