Added android release build configurations.
This commit is contained in:
parent
c74f0510ce
commit
62544e0b8a
@ -45,6 +45,15 @@ Currently the default script builds for:
|
||||
When the script is finished the libraries are ready for android studio to
|
||||
be picked up in client/Android/Studio/freeRDPCore/src/main/jniLibs
|
||||
|
||||
The default configuration build configuration can be found in
|
||||
./scripts/android-build.conf and is configured to provide debug builds.
|
||||
They are limited to API level 21 and above.
|
||||
|
||||
If release binaries (and old android API support) are required, build 32 bit architectures with
|
||||
./scripts/android-build-freerdp.sh --ndk <ANDROID_NDK> --sdk <ANDROID_SDK> --conf ./scripts/android-build-32.conf
|
||||
and 64 bit architectures with
|
||||
./scripts/android-build-freerdp.sh --ndk <ANDROID_NDK> --sdk <ANDROID_SDK> --conf ./scripts/android-build-32.conf
|
||||
|
||||
Building the APK (Android Studio)
|
||||
================
|
||||
|
||||
|
29
scripts/android-build-32.conf
Normal file
29
scripts/android-build-32.conf
Normal file
@ -0,0 +1,29 @@
|
||||
#!/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.
|
||||
WITH_JPEG=0
|
||||
WITH_OPENH264=1
|
||||
WITH_OPENSSL=1
|
||||
BUILD_DEPS=1
|
||||
DEPS_ONLY=0
|
||||
NDK_TARGET=14
|
||||
|
||||
JPEG_TAG=master
|
||||
OPENH264_TAG=v1.6.0
|
||||
OPENSSL_TAG=OpenSSL_1_1_0c
|
||||
|
||||
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 armeabi-v7a x86 mips"
|
29
scripts/android-build-64.conf
Normal file
29
scripts/android-build-64.conf
Normal file
@ -0,0 +1,29 @@
|
||||
#!/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.
|
||||
WITH_JPEG=0
|
||||
WITH_OPENH264=1
|
||||
WITH_OPENSSL=1
|
||||
BUILD_DEPS=1
|
||||
DEPS_ONLY=0
|
||||
NDK_TARGET=21
|
||||
|
||||
JPEG_TAG=master
|
||||
OPENH264_TAG=v1.6.0
|
||||
OPENSSL_TAG=OpenSSL_1_1_0c
|
||||
|
||||
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="arm64-v8a x86_64 mips64"
|
@ -10,7 +10,7 @@
|
||||
# create seperate configurations for each NDK API level
|
||||
# and architecture you want to support.
|
||||
WITH_JPEG=0
|
||||
WITH_OPENH264=0
|
||||
WITH_OPENH264=1
|
||||
WITH_OPENSSL=1
|
||||
BUILD_DEPS=1
|
||||
DEPS_ONLY=0
|
||||
|
Loading…
Reference in New Issue
Block a user