2016-02-01 17:22:10 +03:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# Android build confguration
|
2016-06-03 10:39:48 +03:00
|
|
|
#
|
|
|
|
# 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.
|
2016-02-01 17:22:10 +03:00
|
|
|
SCRIPT_PATH=$(dirname "${BASH_SOURCE[0]}")
|
|
|
|
SCRIPT_PATH=$(realpath "$SCRIPT_PATH")
|
|
|
|
|
2016-02-26 14:13:02 +03:00
|
|
|
WITH_JPEG=0
|
2016-07-06 12:59:08 +03:00
|
|
|
WITH_OPENH264=0
|
2016-02-01 17:22:10 +03:00
|
|
|
WITH_OPENSSL=1
|
|
|
|
BUILD_DEPS=1
|
2016-07-06 18:17:39 +03:00
|
|
|
DEPS_ONLY=0
|
2016-08-18 11:01:12 +03:00
|
|
|
NDK_TARGET=21
|
2016-02-01 17:22:10 +03:00
|
|
|
|
|
|
|
JPEG_TAG=master
|
2016-08-18 11:01:12 +03:00
|
|
|
OPENH264_TAG=v1.6.0
|
2016-06-02 15:25:13 +03:00
|
|
|
OPENSSL_TAG=OpenSSL_1_0_2h
|
2016-02-01 17:22:10 +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=Debug
|
|
|
|
|
2016-06-03 10:39:48 +03:00
|
|
|
BUILD_ARCH="armeabi armeabi-v7a x86 mips arm64-v8a x86_64 mips64"
|