mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 14:17:36 -10:00
Build Stylo (the styling system from servo) by default in all builds for win32, win64, macOS and linux64 targets. It was previously enabled for automation builds, so this just changes the behaviour for local developer builds. Note that this introduces a new dependency on libclang for the binding generator. If you're developing on a tier-1 platform, run `./mach boostrap` to install a working copy. Otherwise llvm+libclang 4.0.1 is recommended. Remove the explicit --enable-stylo=build in mozconfig.stylo in favour of the configure default. Add mozconfig.stylo to the hazard and debug-asan mozconfigs so LLVM_CONFIG is defined properly for those builds. Based on a patch by Bobby Holly in bug 1356991. MozReview-Commit-ID: C2wRNl7JHpz
26 lines
681 B
Plaintext
26 lines
681 B
Plaintext
# Use at least -O1 for optimization to avoid stack space
|
|
# exhaustions caused by Clang function inlining.
|
|
ac_add_options --enable-debug
|
|
ac_add_options --enable-optimize="-O1"
|
|
|
|
. $topsrcdir/build/mozconfig.stylo
|
|
|
|
# ASan specific options on Linux
|
|
ac_add_options --enable-valgrind
|
|
|
|
. $topsrcdir/build/unix/mozconfig.asan
|
|
|
|
export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig
|
|
. $topsrcdir/build/unix/mozconfig.gtk
|
|
|
|
# Enable Telemetry
|
|
export MOZ_TELEMETRY_REPORTING=1
|
|
|
|
# Package js shell.
|
|
export MOZ_PACKAGE_JSSHELL=1
|
|
|
|
# Need this to prevent name conflicts with the normal nightly build packages
|
|
export MOZ_PKG_SPECIAL=asan
|
|
|
|
. "$topsrcdir/build/mozconfig.common.override"
|