2020-11-15 04:10:41 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
#
|
2024-11-20 16:53:40 -05:00
|
|
|
# Android build configuration
|
2020-11-15 04:10:41 +01: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
|
2020-11-15 04:10:41 +01:00
|
|
|
# and architecture you want to support.
|
2025-02-09 09:44:50 +01:00
|
|
|
WITH_OPENH264=1
|
2020-11-15 04:10:41 +01:00
|
|
|
WITH_OPENSSL=1
|
2022-01-13 08:23:44 +01:00
|
|
|
WITH_FFMPEG=1
|
2023-07-02 12:16:01 -04:00
|
|
|
WITH_AAD=1
|
2020-11-15 04:10:41 +01:00
|
|
|
BUILD_DEPS=1
|
|
|
|
|
DEPS_ONLY=0
|
2022-01-14 13:14:17 +01:00
|
|
|
NDK_TARGET=23
|
2022-11-14 07:48:53 +01:00
|
|
|
WITH_MEDIACODEC=0
|
2020-11-15 04:10:41 +01:00
|
|
|
|
2025-01-22 10:25:27 +01:00
|
|
|
OPENH264_TAG=v2.5.0
|
|
|
|
|
OPENH264_HASH=94c8ca364db990047ec4ec3481b04ce0d791e62561ef5601443011bdc00825e3
|
|
|
|
|
OPENSSL_TAG=openssl-3.4.0
|
|
|
|
|
OPENSSL_HASH=e15dda82fe2fe8139dc2ac21a36d4ca01d5313c75f99f46c4e8a27709b7294bf
|
|
|
|
|
FFMPEG_TAG=n7.1
|
|
|
|
|
FFMPEG_HASH=7ddad2d992bd250a6c56053c26029f7e728bebf0f37f80cf3f8a0e6ec706431a
|
2024-07-24 21:22:22 +02:00
|
|
|
CJSON_TAG=v1.7.18
|
|
|
|
|
CJSON_HASH=3aa806844a03442c00769b83e99970be70fbef03735ff898f4811dd03b9f5ee5
|
2020-11-15 04:10:41 +01: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="armeabi-v7a x86 arm64-v8a x86_64"
|