gecko-dev/browser/config/mozconfigs
Mike Hommey a97c7ebfe7 Bug 1640578 - Remove --disable-install-strip from mac mozconfigs. r=froydnj
The need for --disable-install-strip in the mac mozconfigs comes from a
discrepancy in how stripping is handled between platforms. On Windows,
there is no stripping. On non-Mac unix, `strip` removes local symbols as
well as debug info and debug symbols. On Mac, it actually removes too
much, and one has to pass flags to remove both local symbols (`-x`) and
debug symbols (`-S`). Debug info is already in a separate file
(`.dSYM`).

For profiling reasons, we do ship e.g. nightlies with local symbols but
not debug info or symbols (or at least that's the intent). On Windows,
again, nothing to do. On non-Mac unix, we pass `--strip-debug` to
`strip` so that it keeps local symbols. That's where the discrepancy
comes in for Mac: the build system doesn't handle this at all, so the
mozconfigs contain --disable-install-strip to avoid stripping.

The build system should be doing what it's expected to be doing from the
start, without mozconfigs opting into anything.

AFAIK, we only really need the local symbols, so we can `strip -S` on
Mac when profiling is enabled, rather than `strip -x -S`. This also
significantly reduces the size of the installer for nightlies.

And while we're here, move the logic out of old-configure and into
python configure.

Differential Revision: https://phabricator.services.mozilla.com/D76789
2020-05-27 01:42:07 +00:00
..
linux32 Bug 1607193 - Remove MOZ_AUTOMATION_L10N_CHECK; r=firefox-build-system-reviewers,rstewart 2020-03-13 18:34:05 +00:00
linux64 Bug 1635158 - Change rustc option -Zno-landing-pads to -Cpanic=abort for ccov builds r=marco 2020-05-06 12:00:25 +00:00
linux64-aarch64 Bug 1549886 - Enable MOZ_TELEMETRY_REPORTING by default when MOZILLA_OFFICIAL is set. r=froydnj 2019-05-08 14:33:56 +00:00
macosx64 Bug 1640578 - Remove --disable-install-strip from mac mozconfigs. r=froydnj 2020-05-27 01:42:07 +00:00
win32 Bug 1625696 - Update winchecksec and build/use it natively for Linux. r=dmajor 2020-05-07 00:34:36 +00:00
win64 Bug 1625696 - Update winchecksec and build/use it natively for Linux. r=dmajor 2020-05-07 00:34:36 +00:00
win64-aarch64 Bug 1625696 - Update winchecksec and build/use it natively for Linux. r=dmajor 2020-05-07 00:34:36 +00:00
common
whitelist Bug 1640578 - Remove --disable-install-strip from mac mozconfigs. r=froydnj 2020-05-27 01:42:07 +00:00