511444a65e
One of the benefits is that this adds support for building with OpenSSL 3.0 versions without breaking support for building with 1.1.1. As part of the work, the assumption that there is an /archive/ in the download path is removed. Furthermore, cmake modules for finding OpenSSL are updated in order to support 3.0.
32 lines
843 B
Bash
32 lines
843 B
Bash
#!/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
|
|
WITH_OPENH264=0
|
|
WITH_OPENSSL=1
|
|
WITH_FFMPEG=0
|
|
BUILD_DEPS=1
|
|
DEPS_ONLY=0
|
|
NDK_TARGET=21
|
|
|
|
JPEG_TAG=master
|
|
OPENH264_TAG=v1.8.0 # NOTE: NDK r15c or earlier needed in --openh624-ndk for v1.8.0
|
|
OPENSSL_TAG=openssl-1.1.1n
|
|
FFMPEG_TAG=n4.4.1
|
|
|
|
SRC_DIR=$SCRIPT_PATH/..
|
|
BUILD_DST=$SCRIPT_PATH/../client/Android/Studio/freeRDPCore/src/main/jniLibs
|
|
BUILD_SRC=$SRC_DIR/build
|
|
|
|
CMAKE_BUILD_TYPE=Debug
|
|
|
|
BUILD_ARCH="armeabi-v7a arm64-v8a"
|