mail/config/mozconfigs/macosx-universal/nightly
author aleth <aleth@instantbird.org>
Sat, 14 May 2016 10:17:14 +0200
changeset 19318 e569d6a8ce6cf8b2b5b230fe8e61afe7873118e1
parent 18357 cfb6f301cc137556cb374f1b1b81f62661b1b556
child 19405 25b7a4f905be8796089e771885ceba66773b6fe2
permissions -rw-r--r--
Bug 1272483 - Remove MOZ_UPDATE_PACKAGING / --enable-update-packaging. rs,a=bustage-fix

# Big Hack that unsets CC / CXX so that mozconfig.common doesn't get
# mixed up with host/target CPUs when trying to work out how to do the
# universal build. When we redo the build system (bug 648979) this will
# go away.
if test -e "$topsrcdir/mail/config/version.txt"; then
  unset CC
  unset CXX
fi

# Make sure Lightning is also unified, this needs to happen before including
# the universal mozconfig because Lightning's univeral.mk needs to run first.
mk_add_options MOZ_POSTFLIGHT_ALL+=calendar/lightning/build/universal.mk

. $topsrcdir/build/macosx/universal/mozconfig

# Universal builds override the default of mail (bug 575283 comment 29)
ac_add_options --enable-application=mail
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --disable-install-strip
ac_add_options --enable-profiling
ac_add_options --enable-calendar

# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1

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

export MOZ_TELEMETRY_REPORTING=1

# Package js shell
export MOZ_PACKAGE_JSSHELL=1

# Disable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=0
# Disable enforcing that add-ons are signed by the trusted root
MOZ_REQUIRE_ADDON_SIGNING=0

ac_add_options --with-ccache

# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-args ] && cat $topsrcdir/build/client.py-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1