mirror of https://github.com/FreeRDP/FreeRDP
Merge pull request #4570 from akallabeth/toolchain_fix
android Toolchain fix
This commit is contained in:
commit
9381e18cd2
|
@ -4,6 +4,19 @@ File file = new File('release.properties')
|
|||
if (file.canRead()) {
|
||||
properties.load(new FileInputStream(file))
|
||||
}
|
||||
|
||||
if (!hasProperty('RELEASE_STORE_FILE')) {
|
||||
ext.RELEASE_STORE_FILE=''
|
||||
}
|
||||
if (!hasProperty('RELEASE_KEY_ALIAS')) {
|
||||
ext.RELEASE_KEY_ALIAS=''
|
||||
}
|
||||
if (!hasProperty('RELEASE_KEY_ALIAS')) {
|
||||
ext.RELEASE_KEY_ALIAS=''
|
||||
}
|
||||
if (!hasProperty('RELEASE_KEY_PASSWORD')) {
|
||||
ext.RELEASE_KEY_PASSWORD=''
|
||||
}
|
||||
|
||||
def getVersionName = { ->
|
||||
def stdout = new ByteArrayOutputStream()
|
||||
|
|
|
@ -1369,6 +1369,10 @@ if( ANDROID_COMPILER_IS_CLANG )
|
|||
if( BUILD_WITH_ANDROID_NDK )
|
||||
set( ANDROID_CXX_FLAGS "-gcc-toolchain ${ANDROID_TOOLCHAIN_ROOT} ${ANDROID_CXX_FLAGS}" )
|
||||
endif()
|
||||
else()
|
||||
if( BUILD_WITH_ANDROID_NDK )
|
||||
set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} --sysroot=${ANDROID_SYSROOT}" )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# cache flags
|
||||
|
|
|
@ -18,7 +18,7 @@ NDK_TARGET=14
|
|||
|
||||
JPEG_TAG=master
|
||||
OPENH264_TAG=v1.7.0
|
||||
OPENSSL_TAG=OpenSSL_1_1_0g
|
||||
OPENSSL_TAG=OpenSSL_1_1_0h
|
||||
|
||||
SRC_DIR=$SCRIPT_PATH/..
|
||||
BUILD_DST=$SCRIPT_PATH/../client/Android/Studio/freeRDPCore/src/main/jniLibs
|
||||
|
|
|
@ -18,7 +18,7 @@ NDK_TARGET=21
|
|||
|
||||
JPEG_TAG=master
|
||||
OPENH264_TAG=v1.7.0
|
||||
OPENSSL_TAG=OpenSSL_1_1_0g
|
||||
OPENSSL_TAG=OpenSSL_1_1_0h
|
||||
|
||||
SRC_DIR=$SCRIPT_PATH/..
|
||||
BUILD_DST=$SCRIPT_PATH/../client/Android/Studio/freeRDPCore/src/main/jniLibs
|
||||
|
|
|
@ -18,7 +18,7 @@ NDK_TARGET=21
|
|||
|
||||
JPEG_TAG=master
|
||||
OPENH264_TAG=v1.7.0
|
||||
OPENSSL_TAG=OpenSSL_1_1_0g
|
||||
OPENSSL_TAG=OpenSSL_1_1_0h
|
||||
|
||||
SRC_DIR=$SCRIPT_PATH/..
|
||||
BUILD_DST=$SCRIPT_PATH/../client/Android/Studio/freeRDPCore/src/main/jniLibs
|
||||
|
|
Loading…
Reference in New Issue