2016-02-01 15:22:10 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
#
|
2024-11-20 16:53:40 -05:00
|
|
|
# Android build configuration
|
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,
|
2024-11-20 16:53:40 -05:00
|
|
|
# create separate configurations for each NDK API level
|
2016-06-03 09:39:48 +02:00
|
|
|
# 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
|
2023-08-03 17:42:28 +02:00
|
|
|
WITH_FFMPEG=1
|
2023-07-02 12:16:01 -04:00
|
|
|
WITH_AAD=1
|
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-11-14 07:48:53 +01:00
|
|
|
WITH_MEDIACODEC=0
|
2016-02-01 15:22:10 +01:00
|
|
|
|
2025-05-05 13:33:30 +02:00
|
|
|
OPENH264_TAG=v2.6.0
|
|
|
|
|
OPENH264_HASH=558544ad358283a7ab2930d69a9ceddf913f4a51ee9bf1bfb9e377322af81a69
|
|
|
|
|
OPENSSL_TAG=openssl-3.5.0
|
|
|
|
|
OPENSSL_HASH=344d0a79f1a9b08029b0744e2cc401a43f9c90acd1044d09a530b4885a8e9fc0
|
|
|
|
|
FFMPEG_TAG=n7.1.1
|
|
|
|
|
FFMPEG_HASH=f117507dc501f2a6c11f9241d8d0c3213846cfad91764361af37befd6b6c523d
|
2024-07-24 21:22:22 +02:00
|
|
|
CJSON_TAG=v1.7.18
|
|
|
|
|
CJSON_HASH=3aa806844a03442c00769b83e99970be70fbef03735ff898f4811dd03b9f5ee5
|
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"
|