4 # This script is for fetching and repacking the Android NDK (for
5 # Linux), the tools required to produce native Android programs.
7 UPLOAD_DIR
=$HOME/project
/gecko
/android-ndk
9 mkdir
-p $HOME/artifacts
$UPLOAD_DIR
11 # Populate /builds/worker/.mozbuild/android-ndk-$VER.
13 .
/mach python python
/mozboot
/mozboot
/android.py
--ndk-only --no-interactive
15 # Don't generate a tarball with a versioned NDK directory.
16 mv $HOME/.mozbuild
/android-ndk-
* $HOME/.mozbuild
/android-ndk
17 tar cavf
$UPLOAD_DIR/android-ndk.
tar.zst
-C /builds
/worker
/.mozbuild android-ndk