Bump android toolchain version to 21
This commit is contained in:
parent
baf484653a
commit
8385796ca1
4
.github/build.sh
vendored
4
.github/build.sh
vendored
@ -143,9 +143,9 @@ elif [[ $BSH_HOST_PLATFORM == darwin ]]; then
|
|||||||
elif [[ $BSH_HOST_PLATFORM == android ]]; then
|
elif [[ $BSH_HOST_PLATFORM == android ]]; then
|
||||||
case $BSH_HOST_ARCH in
|
case $BSH_HOST_ARCH in
|
||||||
x86_64) android_toolchain_prefix=x86_64-linux-android ; android_system_version=21; android_arch_abi=x86_64 ;;
|
x86_64) android_toolchain_prefix=x86_64-linux-android ; android_system_version=21; android_arch_abi=x86_64 ;;
|
||||||
x86) android_toolchain_prefix=i686-linux-android ; android_system_version=19; android_arch_abi=x86 ;;
|
x86) android_toolchain_prefix=i686-linux-android ; android_system_version=21; android_arch_abi=x86 ;;
|
||||||
aarch64) android_toolchain_prefix=aarch64-linux-android ; android_system_version=21; android_arch_abi=arm64-v8a ;;
|
aarch64) android_toolchain_prefix=aarch64-linux-android ; android_system_version=21; android_arch_abi=arm64-v8a ;;
|
||||||
arm) android_toolchain_prefix=armv7a-linux-androideabi; android_system_version=19; android_arch_abi=armeabi-v7a;;
|
arm) android_toolchain_prefix=armv7a-linux-androideabi; android_system_version=21; android_arch_abi=armeabi-v7a;;
|
||||||
esac
|
esac
|
||||||
android_toolchain_dir=$ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/linux-x86_64
|
android_toolchain_dir=$ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/linux-x86_64
|
||||||
CC=$android_toolchain_dir/bin/$android_toolchain_prefix$android_system_version-clang
|
CC=$android_toolchain_dir/bin/$android_toolchain_prefix$android_system_version-clang
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
android:installLocation="auto"
|
android:installLocation="auto"
|
||||||
>
|
>
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="19"
|
android:minSdkVersion="21"
|
||||||
android:targetSdkVersion="30"
|
android:targetSdkVersion="30"
|
||||||
/>
|
/>
|
||||||
<uses-feature
|
<uses-feature
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[constants]
|
[constants]
|
||||||
android_ndk_toolchain_prefix = 'armv7a-linux-androideabi19-'
|
android_ndk_toolchain_prefix = 'armv7a-linux-androideabi21-'
|
||||||
|
|
||||||
[host_machine]
|
[host_machine]
|
||||||
system = 'android'
|
system = 'android'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[constants]
|
[constants]
|
||||||
android_ndk_toolchain_prefix = 'i686-linux-android19-'
|
android_ndk_toolchain_prefix = 'i686-linux-android21-'
|
||||||
|
|
||||||
[host_machine]
|
[host_machine]
|
||||||
system = 'android'
|
system = 'android'
|
||||||
|
Loading…
Reference in New Issue
Block a user