author Randell Jesup <rjesup@wgate.com>
Wed, 28 Sep 2022 02:10:18 +0000
changeset 636504 388419886525a4b8d6be986bc890f09e6c16052d
parent 591401 3005e92c10a384ac7a1a59daf6885bd167e44045
permissions -rwxr-xr-x
Bug 1791332: Add an OPFS-specific synchronous ordered cleanup queue r=asuth,dom-storage-reviewers The default test.add_cleanup() code from testharness.js in wpt executes the cleanups in parallel, and even if it wasn't in parallel it would be in FIFO order (the wrong order). This adds an OPFS-specific cleanup queue called once from the test cleanup list, and we process the list synchronously in LIFO order. Depends on D146203 Differential Revision: https://phabricator.services.mozilla.com/D157606

set -x -e -v

# This script is for building libbreakpadinjector.so, currently for linux only



export MOZ_OBJDIR=obj-injector

echo ac_add_options --enable-project=tools/crashreporter/injector > .mozconfig


TOOLCHAINS="binutils rustc clang"

for t in $TOOLCHAINS; do

./mach build -v

mkdir injector
cp $MOZ_OBJDIR/dist/bin/$INJECTOR injector/

tar -acf injector.tar.$COMPRESS_EXT injector/
mkdir -p $UPLOAD_DIR
cp injector.tar.$COMPRESS_EXT $UPLOAD_DIR