4 # This script is for fetching and repacking the Android SDK (for
5 # Linux), the tools required to produce Android packages.
7 UPLOAD_DIR
=$HOME/project
/gecko
/android-sdk
9 mkdir
-p $HOME/artifacts
$UPLOAD_DIR
11 # Populate /builds/worker/.mozbuild/android-sdk-linux.
13 .
/mach python python
/mozboot
/mozboot
/android.py
--artifact-mode --no-interactive --list-packages
15 tar cavf
$UPLOAD_DIR/android-sdk-linux.
tar.zst
-C /builds
/worker
/.mozbuild android-sdk-linux bundletool.jar