Skip to content

Commit ccc3b28

Browse files
committed
Update the Android NDK script to r25b
Updating the Android NDK in accordance with new platform support policy.
1 parent b9cf2d7 commit ccc3b28

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

Diff for: ci/android-install-ndk.sh

+4-24
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,7 @@
1212
set -ex
1313

1414
curl --retry 5 -O \
15-
https://dl.google.com/android/repository/android-ndk-r15b-linux-x86_64.zip
16-
unzip -q android-ndk-r15b-linux-x86_64.zip
17-
18-
case "${1}" in
19-
aarch64)
20-
arch=arm64
21-
;;
22-
23-
i686)
24-
arch=x86
25-
;;
26-
27-
*)
28-
arch="${1}"
29-
;;
30-
esac;
31-
32-
android-ndk-r15b/build/tools/make_standalone_toolchain.py \
33-
--unified-headers \
34-
--install-dir "/android/ndk-${1}" \
35-
--arch "${arch}" \
36-
--api 24
37-
38-
rm -rf ./android-ndk-r15b-linux-x86_64.zip ./android-ndk-r15b
15+
https://dl.google.com/android/repository/android-ndk-r25b-linux.zip
16+
unzip -q android-ndk-r25b-linux.zip
17+
mv android-ndk-r25b-linux "/android/ndk-${1}"
18+
rm -rf ./android-ndk-r25b-linux.zip

0 commit comments

Comments
 (0)