2016-02-01 15:22:10 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
#
|
|
|
|
|
# Android build confguration
|
2016-06-03 09:39:48 +02: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.
|
2020-11-20 13:28:16 +01:00
|
|
|
WITH_OPENH264=0
|
2016-02-01 15:22:10 +01:00
|
|
|
WITH_OPENSSL=1
|
2022-01-26 09:53:26 +01:00
|
|
|
WITH_FFMPEG=0
|
2016-02-01 15:22:10 +01:00
|
|
|
BUILD_DEPS=1
|
2016-07-06 17:17:39 +02:00
|
|
|
DEPS_ONLY=0
|
2022-02-24 10:54:19 +01:00
|
|
|
NDK_TARGET=21
|
2022-05-13 09:43:14 +02:00
|
|
|
WITH_MEDIACODEC=1
|
2016-02-01 15:22:10 +01:00
|
|
|
|
2022-10-10 09:49:28 +02:00
|
|
|
OPENH264_TAG=v2.3.1
|
|
|
|
|
OPENH264_HASH=453afa66dacb560bc5fd0468aabee90c483741571bca820a39a1c07f0362dc32
|
|
|
|
|
OPENSSL_TAG=openssl-1.1.1q
|
|
|
|
|
OPENSSL_HASH=d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca
|
2022-01-13 08:23:44 +01:00
|
|
|
FFMPEG_TAG=n4.4.1
|
2022-10-10 09:49:28 +02:00
|
|
|
FFMPEG_HASH=82b43cc67296bcd01a59ae6b327cdb50121d3a9e35f41a30de1edd71bb4a6666
|
2016-02-01 15:22:10 +01:00
|
|
|
|
|
|
|
|
SRC_DIR=$SCRIPT_PATH/..
|
2022-02-18 08:49:56 +01:00
|
|
|
BUILD_DST=$SCRIPT_PATH/../client/Android/Studio/freeRDPCore/src/main/jniLibs
|
2016-02-01 15:22:10 +01:00
|
|
|
BUILD_SRC=$SRC_DIR/build
|
|
|
|
|
|
|
|
|
|
CMAKE_BUILD_TYPE=Debug
|
|
|
|
|
|
2021-07-29 15:20:20 +02:00
|
|
|
BUILD_ARCH="armeabi-v7a arm64-v8a"
|