devops: support --juggler argument for firefox/build.sh script (#2472)

This commit is contained in:
Andrey Lushnikov 2020-06-04 14:26:51 -07:00 committed by GitHub
parent c03b39a30e
commit 95ef71c43c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,11 @@ fi
OBJ_FOLDER="obj-build-playwright"
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig
./mach build
if [[ $1 == "--juggler" ]]; then
./mach build faster
else
./mach build
fi
if [[ "$(uname)" == "Darwin" ]]; then
node ../install-preferences.js $PWD/${OBJ_FOLDER}/dist