From 35e3f55f5694995078ea1ef44b868a53f0f53d26 Mon Sep 17 00:00:00 2001 From: Leith Bade Date: Sat, 6 Dec 2014 15:06:51 +1100 Subject: [PATCH] Revert "Try tar.gz NDK" This reverts commit 08c4ebc3bb23a2b9482f21c27e12cc3c897c088a. Conflicts: scripts/travis_before_install.sh --- scripts/travis_before_install.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/scripts/travis_before_install.sh b/scripts/travis_before_install.sh index 84a2534e8..cff998c7b 100755 --- a/scripts/travis_before_install.sh +++ b/scripts/travis_before_install.sh @@ -11,11 +11,21 @@ if [[ "${MASON_PLATFORM}" == "android" ]]; then echo "load submodules" git submodule update --init --recursive + echo "installing 7z" + MASON_PLATFORM= ./.mason/mason install 7z 9.20 + + echo "setting 7z path" + SEVEN_ZIP_PATH="$(MASON_PLATFORM= ./.mason/mason prefix 7z 9.20)/bin/7za" + echo "fetching NDK" - wget https://s3.amazonaws.com/mapbox-playground/leith/android-ndk-r10c-linux-x86_64.tar.gz + wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin + + echo "chmod NDK" + chmod a+x ./android-ndk-r10c-linux-x86_64.bin echo "unpacking NDK" - tar -xzf ./android-ndk-r10c-linux-x86_64.tar.gz + $SEVEN_ZIP_PATH x ./android-ndk-r10c-linux-x86_64.bin > .tmp-ndk-log + rm .tmp-ndk-log echo "fetching JDK" wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u71-b14/jdk-7u71-linux-x64.tar.gz