2017-01-16 17:23:11 +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
|
2017-01-18 18:52:52 +03:00
|
|
|
WITH_OPENH264=0
|
2017-01-16 17:23:11 +03:00
|
|
|
WITH_OPENSSL=1
|
|
|
|
BUILD_DEPS=1
|
|
|
|
DEPS_ONLY=0
|
|
|
|
NDK_TARGET=21
|
|
|
|
|
|
|
|
JPEG_TAG=master
|
2018-01-17 17:23:19 +03:00
|
|
|
OPENH264_TAG=v1.7.0
|
2018-04-12 17:52:33 +03:00
|
|
|
OPENSSL_TAG=OpenSSL_1_1_0h
|
2017-01-16 17:23:11 +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="arm64-v8a x86_64 mips64"
|