diff options
author | Marcel Metz <[email protected]> | 2017-03-06 10:32:24 +0100 |
---|---|---|
committer | Marcel Metz <[email protected]> | 2017-03-06 11:21:51 +0100 |
commit | 25de358c9ab823ad7a31e10cbc28fafc6e9923dc (patch) | |
tree | bc47bdd8bd144556246c2b449f7c9ec6ca06b131 | |
parent | a2d0bf8d3ab24fc9e1456dc48f975d404e122869 (diff) |
Unpack only required files from Android NDK
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 4483a9ab..1247c2af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,14 @@ install: - > if [[ "${TRAVIS_OS_NAME}" == "linux" && "${BUILD_ANDROID}" == "true" ]]; then curl -o ~/android-ndk.zip https://dl.google.com/android/repository/android-ndk-r14-linux-x86_64.zip - unzip -q ~/android-ndk.zip -d ~ + unzip -q ~/android-ndk.zip -d ~ \ + 'android-ndk-r14/build/cmake/*' \ + 'android-ndk-r14/platforms/android-9/arch-arm/*' \ + 'android-ndk-r14/source.properties' \ + 'android-ndk-r14/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/*' \ + 'android-ndk-r14/sysroot/*' \ + 'android-ndk-r14/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/*' \ + 'android-ndk-r14/toolchains/llvm/prebuilt/linux-x86_64/*' sed -i -e 's/VERSION 3.6.0/VERSION 3.2/' ~/android-ndk-r14/build/cmake/android.toolchain.cmake fi script: |