Fix NDK download
Summary: Fix NDK download for Travis. Reviewed By: emilsjolander Differential Revision: D6020352 fbshipit-source-id: c7523c0afb18d675fc2443e133d5ab63109fec7b
This commit is contained in:
committed by
Facebook Github Bot
parent
fdd1dbe3a9
commit
32f071c2ad
@@ -32,10 +32,10 @@ function installAndroidSDK {
|
||||
rm $TMP
|
||||
fi
|
||||
|
||||
if [[ ! -d "$ANDROID_NDK_REPOSITORY/android-ndk-r13b" ]]; then
|
||||
if [[ ! -d "$ANDROID_NDK_REPOSITORY/android-ndk-r15c" ]]; then
|
||||
TMP=/tmp/ndk$$.zip
|
||||
mkdir -p "$ANDROID_NDK_REPOSITORY"
|
||||
download 'https://dl.google.com/android/repository/android-ndk-r13b-darwin-x86_64.zip' $TMP
|
||||
download 'https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip' $TMP
|
||||
unzip -qod "$ANDROID_NDK_REPOSITORY" "$TMP"
|
||||
rm $TMP
|
||||
fi
|
||||
|
Reference in New Issue
Block a user