forked from mirrors/gecko-dev
Now that docker images have been upgraded to Debian buster, we can install a native zstd binary and use tar's native support rather than relying on piping the output of tar to a python script that uses the python-zstandard module. At least we can do that for toolchain tasks that run on such docker images, which also means we can't on Mac and Windows. Differential Revision: https://phabricator.services.mozilla.com/D112894
19 lines
606 B
Bash
Executable file
19 lines
606 B
Bash
Executable file
#!/bin/bash
|
|
set -x -e -v
|
|
|
|
# This script is for fetching and repacking the Android NDK (for
|
|
# Linux), the tools required to produce native Android programs.
|
|
|
|
UPLOAD_DIR=$HOME/project/gecko/android-ndk
|
|
|
|
mkdir -p $HOME/artifacts $UPLOAD_DIR
|
|
|
|
# Populate /builds/worker/.mozbuild/android-ndk-$VER.
|
|
cd $GECKO_PATH
|
|
./mach python python/mozboot/mozboot/android.py --ndk-only --no-interactive
|
|
|
|
# Don't generate a tarball with a versioned NDK directory.
|
|
mv $HOME/.mozbuild/android-ndk-* $HOME/.mozbuild/android-ndk
|
|
tar cavf $UPLOAD_DIR/android-ndk.tar.zst -C /builds/worker/.mozbuild android-ndk
|
|
|
|
ls -al $UPLOAD_DIR
|