summaryrefslogtreecommitdiff
path: root/mozilla-testing/icecat/mozconfig
blob: da53ad9e4d9cff91633c0f07ce8cbcd79e633e1b (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
86
87
88
89
90
91
92
93
94
# We are building the browser
ac_add_options --enable-application=browser
export MOZ_PHOENIX=1
mk_add_options MOZ_PHOENIX=1

# 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-toolkit-cairo-gtk2
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-svg-renderer=cairo

ac_add_options --disable-toolkit-qt

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-freetype2
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 spellcheck"

ac_add_options --disable-safe-browsing
ac_add_options --enable-url-classifier
ac_add_options --disable-chatzilla
ac_add_options --disable-accessibility
ac_add_options --disable-calendar
ac_add_options --disable-composer

# Enable/Disable "system-y" features
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
ac_add_options --disable-installer
# Does anyone know which is effective?
ac_add_options --disable-update
ac_add_options --disable-updater

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'