Skip to content

Commit

Permalink
Update the Android NDK script to r25b
Browse files Browse the repository at this point in the history
Updating the Android NDK in accordance with new platform support policy.
  • Loading branch information
chriswailes committed Sep 28, 2022
1 parent b9cf2d7 commit ccc3b28
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions ci/android-install-ndk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,7 @@
set -ex

curl --retry 5 -O \
https://dl.google.com/android/repository/android-ndk-r15b-linux-x86_64.zip
unzip -q android-ndk-r15b-linux-x86_64.zip

case "${1}" in
aarch64)
arch=arm64
;;

i686)
arch=x86
;;

*)
arch="${1}"
;;
esac;

android-ndk-r15b/build/tools/make_standalone_toolchain.py \
--unified-headers \
--install-dir "/android/ndk-${1}" \
--arch "${arch}" \
--api 24

rm -rf ./android-ndk-r15b-linux-x86_64.zip ./android-ndk-r15b
https://dl.google.com/android/repository/android-ndk-r25b-linux.zip
unzip -q android-ndk-r25b-linux.zip
mv android-ndk-r25b-linux "/android/ndk-${1}"
rm -rf ./android-ndk-r25b-linux.zip

0 comments on commit ccc3b28

Please sign in to comment.