Bug 1821117 [wpt PR 38888] - Expose desired{Execution|Render}Start in LoAF+ScriptTimi...
[gecko.git] / taskcluster / scripts / misc / repack-android-ndk-linux.sh
blob5c11e416f81bc0f17d59a9d8d96e35602a23833b
1 #!/bin/bash
2 set -x -e -v
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.
12 cd $GECKO_PATH
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
19 ls -al $UPLOAD_DIR