fune/taskcluster/scripts/misc/repack-android-ndk-linux.sh
Mike Hommey b5d3336fe4 Bug 1827794 - Switch private toolchains that don't use artifact_prefix to it. r=taskgraph-reviewers,jcristau
Those tasks predate the addition of the artifact_prefix attribute, which
simplifies things significantly, so switching to it is for the better.

Differential Revision: https://phabricator.services.mozilla.com/D175320
2023-04-14 01:38:35 +00:00

17 lines
546 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.
mkdir -p $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