chore: Update alpha-build.sh script to handle xvfb-run not found and enable lazy loading for images

This commit is contained in:
Mauro Balades
2024-07-20 22:20:58 +02:00
parent 766c4e941d
commit 49ee736731
3 changed files with 8 additions and 18 deletions

View File

@@ -15,7 +15,7 @@ then
Xvfb :2 -screen 0 1024x768x24 &
export LLVM_PROFDATA=$HOME/.mozbuild/clang/bin/llvm-profdata
export DISPLAY=:2
pnpm build
pnpm build -d
else
echo "Xvfb could not be found, running without it"
echo "ASSUMING YOU ARE RUNNING THIS ON MACOS"

View File

@@ -26,14 +26,7 @@ export WINE="$TOOLS/wine/bin/wine64"
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
ac_add_options --enable-default-browser-agent
ac_add_options --enable-install-strip
ac_add_options --enable-jxl
ac_add_options --disable-maintenance-service
ac_add_options --disable-profiling
ac_add_options --disable-accessibility
ac_add_options --disable-bits-download
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE

View File

@@ -58,17 +58,15 @@ if test "$ZEN_RELEASE"; then
ac_add_options --disable-profiling
ac_add_options --disable-rust-tests
if ! test "$ZEN_CROSS_COMPILING"; then
export MOZ_LTO=full
ac_add_options MOZ_LTO=full
ac_add_options --enable-lto=full
ac_add_options --enable-jemalloc
fi
export MOZ_LTO=full
ac_add_options MOZ_LTO=full
ac_add_options --enable-lto=full
ac_add_options --enable-jemalloc
mk_add_options MOZILLA_OFFICIAL=1
MOZILLA_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options MOZ_OPTIMIZE=1
MOZ_OPTIMIZE=1
export MOZ_OPTIMIZE=1
@@ -97,5 +95,4 @@ fi
export MOZ_APP_UA_NAME="Firefox"
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE