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.
|
2022-01-13 10:23:44 +03:00
|
|
|
WITH_OPENH264=0
|
2017-01-16 17:23:11 +03:00
|
|
|
WITH_OPENSSL=1
|
2022-01-13 10:23:44 +03:00
|
|
|
WITH_FFMPEG=1
|
2023-03-09 12:10:16 +03:00
|
|
|
WITH_CJSON=1
|
2017-01-16 17:23:11 +03:00
|
|
|
BUILD_DEPS=1
|
|
|
|
DEPS_ONLY=0
|
2020-11-15 06:10:41 +03:00
|
|
|
NDK_TARGET=21
|
2022-11-14 09:48:53 +03:00
|
|
|
WITH_MEDIACODEC=0
|
2017-01-16 17:23:11 +03:00
|
|
|
|
2022-10-10 10:49:28 +03:00
|
|
|
OPENH264_TAG=v2.3.1
|
|
|
|
OPENH264_HASH=453afa66dacb560bc5fd0468aabee90c483741571bca820a39a1c07f0362dc32
|
2022-11-10 11:55:07 +03:00
|
|
|
OPENSSL_TAG=openssl-1.1.1s
|
|
|
|
OPENSSL_HASH=c5ac01e760ee6ff0dab61d6b2bbd30146724d063eb322180c6f18a6f74e4b6aa
|
2022-01-13 10:23:44 +03:00
|
|
|
FFMPEG_TAG=n4.4.1
|
2022-10-10 10:49:28 +03:00
|
|
|
FFMPEG_HASH=82b43cc67296bcd01a59ae6b327cdb50121d3a9e35f41a30de1edd71bb4a6666
|
2023-03-09 12:10:16 +03:00
|
|
|
CJSON_TAG=v1.7.15
|
|
|
|
CJSON_HASH=5308fd4bd90cef7aa060558514de6a1a4a0819974a26e6ed13973c5f624c24b2
|
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
|
|
|
|
|
2018-11-09 05:20:52 +03:00
|
|
|
BUILD_ARCH="armeabi-v7a x86"
|