2017-01-09 20:01:10 +08:00
|
|
|
# There multiple default mozconfigs in the soruce tree with references across directories
|
|
|
|
# $topsrcdir/build/unix/mozconfig.gtk
|
|
|
|
# $topsrcdir/build/unix/mozconfig.linux
|
|
|
|
# $topsrcdir/build/mozconfig.common
|
|
|
|
# $topsrcdir/browser/config/mozconfigs/linux64/release
|
|
|
|
# $topsrcdir/browser/config/mozconfigs/linux64/common-opt
|
|
|
|
# $topsrcdir/browser/config/mozconfig
|
|
|
|
# $topsrcdir/build/mozconfig.rust
|
|
|
|
# But we intend to mantain our own mozconfig without reference to any of the mozilla upstream configuration to keep it simple
|
|
|
|
# This mozconfig would inlcude most of the configurations listed above into one file
|
2013-04-28 07:01:01 +08:00
|
|
|
|
2013-11-18 02:38:57 +08:00
|
|
|
ac_add_options --prefix=/usr
|
2015-12-17 15:38:50 +08:00
|
|
|
ac_add_options --enable-release
|
2017-03-18 02:50:05 +08:00
|
|
|
ac_add_options --enable-gold
|
2015-11-24 12:10:00 +08:00
|
|
|
ac_add_options --enable-pie
|
2016-08-04 03:12:57 +08:00
|
|
|
ac_add_options --enable-rust
|
2017-03-29 00:34:27 +08:00
|
|
|
ac_add_options --enable-skia
|
2013-04-28 22:10:14 +08:00
|
|
|
|
2016-09-27 14:48:25 +08:00
|
|
|
# Release branding
|
2017-03-29 00:34:27 +08:00
|
|
|
ac_add_options --enable-application=browser
|
2014-07-31 06:32:42 +08:00
|
|
|
ac_add_options --enable-official-branding
|
2017-03-18 02:50:05 +08:00
|
|
|
ac_add_options --enable-update-channel=release
|
2017-03-29 00:34:27 +08:00
|
|
|
ac_add_options --with-distribution-id=org.chakralinux
|
2017-03-18 22:35:08 +08:00
|
|
|
ac_add_options --enable-default-toolkit=cairo-gtk3
|
2017-03-29 00:34:27 +08:00
|
|
|
export MOZILLA_OFFICIAL=1
|
|
|
|
export MOZ_TELEMETRY_REPORTING=1
|
|
|
|
export MOZ_ADDON_SIGNING=1
|
|
|
|
export MOZ_REQUIRE_SIGNING=1
|
2017-01-08 22:16:33 +08:00
|
|
|
|
2013-04-28 07:01:01 +08:00
|
|
|
# System libraries
|
2014-07-31 06:32:42 +08:00
|
|
|
ac_add_options --with-system-nspr
|
|
|
|
ac_add_options --with-system-nss
|
2017-03-29 00:34:27 +08:00
|
|
|
# our icu is too old
|
2017-03-08 13:24:55 +08:00
|
|
|
#ac_add_options --with-system-icu
|
2013-05-15 20:07:28 +08:00
|
|
|
ac_add_options --with-system-jpeg
|
|
|
|
ac_add_options --with-system-zlib
|
|
|
|
ac_add_options --with-system-bz2
|
|
|
|
ac_add_options --with-system-libevent
|
|
|
|
ac_add_options --with-system-libvpx
|
|
|
|
ac_add_options --enable-system-hunspell
|
2016-04-29 16:44:15 +08:00
|
|
|
ac_add_options --enable-system-sqlite
|
2013-05-15 20:07:28 +08:00
|
|
|
ac_add_options --enable-system-ffi
|
2015-12-17 15:38:50 +08:00
|
|
|
# system cairo without layers acceleration results in choppy video playback
|
2016-03-19 13:05:55 +08:00
|
|
|
#ac_add_options --enable-system-cairo
|
2013-05-15 20:07:28 +08:00
|
|
|
ac_add_options --enable-system-pixman
|
2013-04-28 07:01:01 +08:00
|
|
|
ac_add_options --disable-libproxy
|
|
|
|
|
|
|
|
# Features
|
|
|
|
ac_add_options --enable-startup-notification
|
|
|
|
ac_add_options --disable-gconf
|
|
|
|
ac_add_options --disable-updater
|
2016-08-04 03:12:57 +08:00
|
|
|
ac_add_options --disable-crashreporter
|
2016-04-30 08:27:35 +08:00
|
|
|
|
|
|
|
# PGO
|
2016-08-05 17:46:13 +08:00
|
|
|
mk_add_options PROFILE_GEN_SCRIPT='EXTRA_TEST_ARGS=10 $(MAKE) -C $(MOZ_OBJDIR) pgo-profile-run'
|
|
|
|
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff
|
2016-04-30 08:27:35 +08:00
|
|
|
STRIP_FLAGS="--strip-debug"
|
2016-08-04 03:12:57 +08:00
|
|
|
|
|
|
|
# vim:set ft=sh:
|