2020-11-15 06:10:41 +03:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# Android build confguration
|
|
|
|
#
|
|
|
|
# Note: This is a simple configuration to build all
|
|
|
|
# architectures in one rush.
|
|
|
|
# Since android 64 bit support was introduced with NDK API 21
|
|
|
|
# this is the minimal common denominator.
|
|
|
|
# If you require support for older NDK API levels,
|
|
|
|
# create seperate configurations for each NDK API level
|
|
|
|
# and architecture you want to support.
|
|
|
|
WITH_JPEG=0
|
2022-01-13 10:23:44 +03:00
|
|
|
WITH_OPENH264=0
|
2020-11-15 06:10:41 +03:00
|
|
|
WITH_OPENSSL=1
|
2022-01-13 10:23:44 +03:00
|
|
|
WITH_FFMPEG=1
|
2020-11-15 06:10:41 +03:00
|
|
|
BUILD_DEPS=1
|
|
|
|
DEPS_ONLY=0
|
2022-01-14 15:14:17 +03:00
|
|
|
NDK_TARGET=23
|
2020-11-15 06:10:41 +03:00
|
|
|
|
|
|
|
JPEG_TAG=master
|
|
|
|
OPENH264_TAG=v1.8.0 # NOTE: NDK r15c or earlier needed in --openh624-ndk for v1.8.0
|
2021-11-26 07:52:18 +03:00
|
|
|
OPENSSL_TAG=openssl-1.1.1n
|
2022-01-13 10:23:44 +03:00
|
|
|
FFMPEG_TAG=n4.4.1
|
2020-11-15 06:10:41 +03:00
|
|
|
|
|
|
|
SRC_DIR=$SCRIPT_PATH/..
|
|
|
|
BUILD_DST=$SCRIPT_PATH/../client/Android/Studio/freeRDPCore/src/main/jniLibs
|
|
|
|
BUILD_SRC=$SRC_DIR/build
|
|
|
|
|
|
|
|
CMAKE_BUILD_TYPE=Release
|
|
|
|
|
|
|
|
BUILD_ARCH="armeabi-v7a x86 arm64-v8a x86_64"
|