forked from BrowserWorks/Waterfox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mozconfig
executable file
·48 lines (36 loc) · 1.48 KB
/
.mozconfig
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
. $topsrcdir/browser/config/mozconfig
export MOZ_PSEUDO_DERECURSE=no-pymake
ac_add_options --enable-application=browser
mk_add_options MOZ_MAKE_FLAGS=-j4
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../objdir
#mk_add_options MOZ_CO_MODULE="mozilla/tools/update-packaging"
# for 64-bit build
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32
# for 64-bit build
export MOZ_OPTIMIZE_LDFLAGS="-MACHINE:X64 -OPT:REF,ICF -FORCE"
mk_add_options MOZ_OPTIMIZE_LDFLAGS="-MACHINE:X64 -OPT:REF,ICF -FORCE"
ac_add_options --with-app-name=waterfox
ac_add_options --with-branding=browser/branding/waterfox
ac_add_options --disable-tests
ac_add_options --disable-ipdl-tests
#ac_add_options --disable-gamepad
# Use to use profiling
ac_add_options --enable-optimize="-O3 -Qip- -Qparallel -fp:precise -arch:SSE3 -QaxCORE-AVX2,CORE-AVX-I,AVX,SSE4.2,SSE4.1,SSSE3,SSE3,SSE2 -w"
# enable updater
ac_add_options --enable-update-channel=release
ac_add_options --enable-updater
ac_add_options --enable-update-packaging
ac_add_options --enable-release
# diasble crashreporter
ac_add_options --enable-crashreporter
#ac_add_options --disable-jemalloc
ac_add_options --disable-accessibility
#ac_add_options --disable-replace-malloc
ac_add_options --disable-maintenance-service
ac_add_options --disable-services-healthreport
ac_add_options --disable-telemetry-reporting
ac_add_options --disable-mochitest
ac_add_options --disable-mochitests
# for X64
WIN32_REDIST_DIR=$VCINSTALLDIR/redist/x64/Microsoft.VC110.CRT