blob: 3ae3e1c2e83a678c6012b94240fe9e9cdd773ef2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
# This is a better commented version of the .mozconfig used by the Parabola
# package < v9
# We are building the browser
. $topsrcdir/browser/config/mozconfig
# Branding
ac_add_options --disable-official-branding
ac_add_options --with-branding=browser/branding/unofficial
# GNUzilla things
ac_add_options --with-distribution-id=org.gnu.gnuzilla
ac_add_options --with-user-appdir=.gnuzilla
# Operating system things
ac_add_options --prefix=/usr
ac_add_options --libdir=/usr/lib
ac_add_options --with-pthreads
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-system-cairo
ac_add_options --enable-system-hunspell
ac_add_options --enable-system-sqlite
ac_add_options --with-system-bz2
ac_add_options --with-system-jpeg
ac_add_options --with-system-libevent
ac_add_options --with-system-libvpx
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-png
ac_add_options --with-system-zlib
ac_add_options --enable-pango
ac_add_options --enable-startup-notification
# Enable/Disable web technologies
ac_add_options --enable-canvas
ac_add_options --enable-canvas3d
ac_add_options --enable-places
ac_add_options --enable-smil
ac_add_options --enable-svg
# Enable/Disable "user-y" features
ac_add_options --enable-extensions=default
ac_add_options --disable-safe-browsing
ac_add_options --enable-url-classifier
# Enable/Disable "system-y" features
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
ac_add_options --disable-installer
ac_add_options --disable-update
ac_add_options --disable-gnomevfs
ac_add_options --disable-javaxpcom
ac_add_options --enable-gio
ac_add_options --enable-libnotify
ac_add_options --enable-printing
ac_add_options --enable-xinerama
ac_add_options --enable-xterm-updates
# Build settings
ac_add_options --disable-mochitest
ac_add_options --disable-pedantic
ac_add_options --disable-static
ac_add_options --disable-tests
ac_add_options --enable-install-strip
ac_add_options --enable-jemalloc
ac_add_options --enable-optimize
ac_add_options --enable-strip
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
# PGO
ac_add_options --enable-profile-guided-optimization
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-pgo
mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'
mk_add_options PYTHONPATH='$(OBJDIR)/_profile/pgo'
|