Files
rust/src/ci/docker/scripts/android-ndk.sh
T
Chris Wailes bf7f1ca316 Update CI to use Android NDK r25b
This commit updates the CI definitions to use the most recent Android
LTS NDK release: r25b.  Changes since the last NDK used by Rust negate
the need to generate "standalone toolchains" and newer NDKs can be used
in-place.

See https://developer.android.com/ndk/guides/other_build_systems#overview
2022-10-04 12:14:14 -07:00

14 lines
192 B
Bash

#!/bin/sh
set -ex
URL=https://dl.google.com/android/repository
download_ndk() {
mkdir /android/
cd /android
curl -fO $URL/$1
unzip -q $1
rm $1
mv android-ndk-* ndk
}