taskcluster/scripts/misc/repack-android-system-images-linux.sh
author Emilio Cobos Álvarez <emilio@crisal.io>
Wed, 05 Oct 2022 06:59:14 +0000
changeset 636915 c14f7934269f333be9e65958c7a012899b3123bd
parent 585647 e82e752b8f441ba9e4289489daa3b7358a139366
permissions -rwxr-xr-x
Bug 1792802 - Fix accessible tests after previous change. r=Jamie After the previous change, the treecolpicker element only wraps a button and a menu, which are siblings rather than parent/child. I think that's probably fine but it changes the shape of the a11y tree. This patch updates the relevant tests, but let me know if you'd rather keep the behavior. I could do that by either keeping the treecolpicker entry listed in XULMap (I think), or via other means. Suggestions welcome if you think this is not the right fix. Differential Revision: https://phabricator.services.mozilla.com/D158640

#!/bin/bash
set -x -e -v

# This script is for fetching and repacking the Android SDK (for
# Linux), the tools required to produce Android packages.

AVD_JSON_CONFIG="$1"
UPLOAD_DIR=$HOME/project/gecko/android-system-images

mkdir -p $HOME/artifacts $UPLOAD_DIR

# Populate /builds/worker/.mozbuild/android-sdk-linux.
cd $GECKO_PATH
./mach python python/mozboot/mozboot/android.py --artifact-mode --system-images-only --avd-manifest="$AVD_JSON_CONFIG" --no-interactive --list-packages

tar cavf $UPLOAD_DIR/android-system-images-linux.tar.zst -C /builds/worker/.mozbuild android-sdk-linux/system-images

ls -al $UPLOAD_DIR