2017-01-16 22:23:11 +08:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
2024-11-21 05:53:40 +08:00
|
|
|
# Android build configuration
|
2017-01-16 22:23:11 +08: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-21 05:53:40 +08:00
|
|
|
# create separate configurations for each NDK API level
|
2017-01-16 22:23:11 +08:00
|
|
|
# and architecture you want to support.
|
2020-11-15 11:10:41 +08:00
|
|
|
WITH_OPENH264=1
|
2017-01-16 22:23:11 +08:00
|
|
|
WITH_OPENSSL=1
|
2022-01-13 15:23:44 +08:00
|
|
|
WITH_FFMPEG=1
|
2023-07-03 00:16:01 +08:00
|
|
|
WITH_AAD=1
|
2017-01-16 22:23:11 +08:00
|
|
|
BUILD_DEPS=1
|
|
|
|
DEPS_ONLY=0
|
|
|
|
NDK_TARGET=21
|
2022-11-14 14:48:53 +08:00
|
|
|
WITH_MEDIACODEC=0
|
2017-01-16 22:23:11 +08:00
|
|
|
|
2024-07-25 03:22:22 +08:00
|
|
|
OPENH264_TAG=v2.4.1
|
|
|
|
OPENH264_HASH=8ffbe944e74043d0d3fb53d4a2a14c94de71f58dbea6a06d0dc92369542958ea
|
|
|
|
OPENSSL_TAG=openssl-3.3.1
|
|
|
|
OPENSSL_HASH=777cd596284c883375a2a7a11bf5d2786fc5413255efab20c50d6ffe6d020b7e
|
|
|
|
FFMPEG_TAG=n7.0.1
|
|
|
|
FFMPEG_HASH=8dab1da0c7ebccb2dce99265901f22ac40f8e0fbbe4a89a368d7645f2e79caa0
|
|
|
|
CJSON_TAG=v1.7.18
|
|
|
|
CJSON_HASH=3aa806844a03442c00769b83e99970be70fbef03735ff898f4811dd03b9f5ee5
|
2017-01-16 22:23:11 +08: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 10:20:52 +08:00
|
|
|
BUILD_ARCH="arm64-v8a x86_64"
|