repack-android-ndk-linux.sh (546B)
1 #!/bin/bash 2 set -x -e -v 3 4 # This script is for fetching and repacking the Android NDK (for 5 # Linux), the tools required to produce native Android programs. 6 7 mkdir -p $UPLOAD_DIR 8 9 # Populate /builds/worker/.mozbuild/android-ndk-$VER. 10 cd $GECKO_PATH 11 ./mach python python/mozboot/mozboot/android.py --ndk-only --no-interactive 12 13 # Don't generate a tarball with a versioned NDK directory. 14 mv $HOME/.mozbuild/android-ndk-* $HOME/.mozbuild/android-ndk 15 tar cavf $UPLOAD_DIR/android-ndk.tar.zst -C /builds/worker/.mozbuild android-ndk 16 17 ls -al $UPLOAD_DIR