summaryrefslogtreecommitdiff
path: root/recipes/mozilla/firefox/mozconfig
blob: f7ab5dd3a36114ddb075161657c73b0c71c40a8e (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
. $topsrcdir/browser/config/mozconfig

# use GTK+-2 widget set with XFT font rendering
#ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --disable-freetype2

# enable minimal profile support
ac_add_options --disable-profilesharing
ac_add_options --disable-profilelocking
ac_add_options --enable-single-profile

ac_add_options --with-system-zlib
ac_add_options --with-system-jpeg
#ac_add_options --with-system-png

ac_add_options --disable-accessibility
ac_add_options --disable-composer
#ac_add_options --enable-plaintext-editor-only
ac_add_options --disable-mailnews
ac_add_options --disable-ldap
#ac_add_options --disable-postscript
ac_add_options --disable-mathml
ac_add_options --disable-jsd
ac_add_options --disable-installer
ac_add_options --disable-xprint
ac_add_options --disable-necko-disk-cache

# configure necko to allocate smaller network buffers
ac_add_options --enable-necko-small-buffers

# disable debug logging and tests
#ac_add_options --disable-dtd-debug
ac_add_options --disable-logging
ac_add_options --disable-gtktest
ac_add_options --disable-tests
ac_add_options --disable-printing
ac_add_options --disable-gnomevfs
ac_add_options --disable-gnomeui
ac_add_options --enable-debugger-info-modules

# build crypto module (PSM + NSS)
ac_add_options --enable-crypto

# build minimal set of protocol handlers
ac_add_options --enable-necko-protocols=http,file,res,ftp,about,viewsource

# build minimal set of image decoders
#ac_add_options --enable-image-decoders=png,gif,jpeg

#ac_add_options --enable-reorder
#ac_add_options --enable-elf-dynstr-gc

# enable static build
#ac_add_options --disable-shared
#ac_add_options --enable-static
ac_add_options --enable-optimize=-O2

# Use cairo from system
ac_add_options --enable-system-cairo

# Disable jemalloc
ac_add_options --disable-jemalloc

# enable libxul
ac_add_options --enable-libxul