zotero/app/win/mozconfig
Dan Stillman 1dffe21de0
Some checks failed
CI / Test (shard 3) (push) Has been cancelled
CI / Test (shard 4) (push) Has been cancelled
CI / Utilities Tests (push) Has been cancelled
CI / Build, Upload (push) Has been cancelled
CI / Test (shard 1) (push) Has been cancelled
CI / Test (shard 2) (push) Has been cancelled
fx153: Don't embed source-repo info in custom Windows builds
Better fix than d5aacafe3f -- we don't need source-repo info in our
builds at all, so just disable MOZ_INCLUDE_SOURCE_INFO rather than
synthesizing it.
2026-08-03 18:59:01 -04:00

40 lines
1.4 KiB
Text

# Set Z_ARCH=win32 or Z_ARCH=aarch64 on command line
if [ "$Z_ARCH" == "win32" ]; then
ac_add_options --target=i686-pc-windows-msvc
# https://bugzilla.mozilla.org/show_bug.cgi?id=1804548
ac_add_options --without-wasm-sandboxed-libraries
elif [ "$Z_ARCH" == "arm64" ]; then
ac_add_options --target=aarch64-pc-windows-msvc
fi
ac_add_options --enable-bootstrap
mk_add_options AUTOCLOBBER=1
# These don't all affect the stub, but they can't hurt, and we'll want them if
# we switch to custom XUL builds
ac_add_options MOZ_ENABLE_JS_DUMP=1
ac_add_options MOZ_ENABLE_FORKSERVER=
ac_add_options MOZ_TELEMETRY_REPORTING=
ac_add_options MOZ_DATA_REPORTING=
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-webrtc
ac_add_options --disable-eme
ac_add_options --enable-official-branding
ac_add_options --disable-maintenance-service
ac_add_options --disable-notification-server
ac_add_options --disable-update-agent
export MOZILLA_OFFICIAL=1
export RELEASE_OR_BETA=1
# We don't need source-repo info embedded, and generating it would require a
# source-repo.h that Firefox only auto-populates for Mercurial, not our git
# checkout, which breaks packaging. Turn it off.
ac_add_options MOZ_INCLUDE_SOURCE_INFO=
MOZ_REQUIRE_SIGNING=
# Build updater without MAR signature verification
ac_add_options --enable-unverified-updates