suite/config/mozconfigs/win32/nightly
author Geoff Lankow <geoff@darktrojan.net>
Wed, 16 Jul 2025 15:31:04 +1200 (7 days ago)
changeset 45556 a9e0c266bba366c5a545a33a1089d31630188e47
parent 24457 256398d3eabe47d958a46a8a1ac622cb0b8b9be2
permissions -rw-r--r--
Bug 1976783 - Use EnsureNSSInitializedChromeOrContent instead of XPCOM methods. r=kaie I had intended to use `components::NSSComponent::Service()` for this but debug builds didn't like it. I think the compiler optimised it away. But `EnsureNSSInitializedChromeOrContent` exists and seems to be specifically for what we want. Differential Revision: https://phabricator.services.mozilla.com/D257960
TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}

. $TOOLTOOL_DIR/build/mozconfig.win-common
. $TOOLTOOL_DIR/build/mozconfig.stylo
. $TOOLTOOL_DIR/build/mozconfig.common
. $TOOLTOOL_DIR/build/win32/mozconfig.vs-latest
. $TOOLTOOL_DIR/comm/suite/config/mozconfigs/mozconfig.win.common
. $TOOLTOOL_DIR/comm/suite/config/mozconfigs/common

ac_add_options --enable-application=comm/suite
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --enable-jemalloc
ac_add_options --enable-profiling
ac_add_options --enable-calendar

# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1

# Package js shell
export MOZ_PACKAGE_JSSHELL=1

. $TOOLTOOL_DIR/build/win32/mozconfig.vs-latest

# Set up mapi includes (must be done after visual studio setup)
export INCLUDE=$INCLUDE:/c/Office\ 2010\ Developer\ Resources/Outlook\ 2010\ MAPI\ Headers
mk_export_correct_style INCLUDE