summaryrefslogtreecommitdiffstats
path: root/src/ci/docker/scripts/android-ndk.sh
blob: 4dd6ac274fd5b96dfa24873a8c4e0aea6c262cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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
}