summaryrefslogtreecommitdiffstats
path: root/mozconfig
blob: 1887f7a5bce30e3d05cb2dc2cd7f6a04775fa6d7 (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
ac_add_options --enable-application=browser
mk_add_options MOZ_CO_PROJECT=browser


## System libs are preferred
ac_add_options --with-system-jpeg --with-pthreads --with-system-zlib
ac_add_options --with-system-bz2 --with-system-png --enable-system-pixman
ac_add_options --with-system-sqlite  

ac_add_options --enable-libjpeg-turbo
ac_add_options --disable-angle
ac_add_options --prefix=/usr
ac_add_options --libdir=/usr/lib
ac_add_options --with-system-libevent
ac_add_options --enable-system-hunspell
#ac_add_options --enable-gstreamer
#ac_add_options --disable-xpcom-fastload
ac_add_options --disable-profilelocking
#disabled: needs sqlite3 built with SQLITE_SECURE_DELETE
#ac_add_options --disable-system-sqlite
ac_add_options --enable-system-cairo
ac_add_options --with-pthreads
ac_add_options --enable-places
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-svg  --enable-canvas --enable-printing --enable-canvas3d
ac_add_options --enable-extensions=default
ac_add_options --enable-smil

ac_add_options --enable-official-branding
ac_add_options --disable-startup-notification
ac_add_options --disable-gnomeui
ac_add_options --disable-gnomevfs
ac_add_options --disable-necko-wifi
ac_add_options --disable-xprint
ac_add_options --disable-accessibility
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-help-viewer

ac_add_options --disable-safe-browsing --disable-gconf --disable-auto-deps
#ac_add_options --disable-safe-browsing --disable-gconf 

#Optimizations
ac_add_options --enable-jemalloc
#--enable-xterm-updates
 ### Reverse these lines (enable vs disable) for a debug build
ac_add_options --enable-optimize="-O2 -pipe -march=native"
#ac_add_options --enable-profile-guided-optimization
ac_add_options --enable-strip --enable-install-strip


# Disable stuff
ac_add_options --disable-tests --disable-mochitest--disable-gtktest --disable-freetypetest --disable-glibtest --disable-debug --disable-debug-modules --disable-debugger-info-modules --disable-logging --disable-installer --disable-pedantic --disable-updater --disable-libIDLtest
ac_add_options --disable-mailnews --disable-calendar --disable-composer
ac_add_options --disable-javaxpcom  --disable-crashreporter --disable-updater  --disable-parental-controls
ac_add_options --disable-dbus --disable-libnotify
ac_add_options --disable-xinerama
ac_add_options --disable-xprint
ac_add_options --disable-pango

# Added later --disable-zipwriter --disable-wave --disable-xpconnect-idispatch --disable-auto-deps --disable-jsd
#ac_add_options --enable-libproxy   --disable-dbm --disable-libconic --disable-profile-guided-optimization --disable-necko-disk-cache  

ac_add_options --disable-profile-guided-optimization  --enable-faststart 
#--enable-necko-protocols=none --disable-necko-disk-cache --disable-necko-wifi  
#ac_add_options --disable-profile-guided-optimization --enable-libproxy --enable-faststart
ac_add_options --with-system-libvpx=/usr --enable-chrome-format=omni
#--enable-elf-dynstr-gc --enable-libxul --disable-necko-disk-cache 
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
mk_add_options MOZ_MAKE_FLAGS=-j8

ac_add_options --disable-ldap