summaryrefslogtreecommitdiff
path: root/waterfox-g/debian/mozconfig
blob: 850281e0f2d56850f97e047af0c6c338cee75f6b (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
ac_add_options --prefix=/usr

mk_add_options AUTOCLOBBER=1

ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-crashreporter
ac_add_options --disable-profiling
ac_add_options --disable-dmd
ac_add_options --disable-geckodriver
ac_add_options --disable-bootstrap
ac_add_options --disable-updater
ac_add_options --disable-elf-hack
ac_add_options --disable-tests

ac_add_options --enable-unverified-updates
ac_add_options --enable-pulseaudio
ac_add_options --enable-alsa
ac_add_options --enable-jack
ac_add_options --enable-eme=widevine
ac_add_options --enable-application=browser
ac_add_options --enable-default-toolkit=cairo-gtk3-wayland
ac_add_options --enable-hardening
ac_add_options --enable-optimize
ac_add_options --enable-rust-simd
ac_add_options --enable-linker=lld
ac_add_options --enable-jxl
if test "$GEN_PGO"; then
    ac_add_options --enable-profile-generate=cross
elif test "$USE_PGO"; then
    ac_add_options --enable-lto=cross
    ac_add_options --enable-profile-use=cross
    ac_add_options --with-pgo-profile-path="$PWD"/merged.profdata
    ac_add_options --with-pgo-jarlog="$PWD"/jarlog
fi

ac_add_options --with-app-name=waterfox-g
ac_add_options --with-app-basename=Waterfox
ac_add_options --with-branding=waterfox/browser/branding
ac_add_options --with-unsigned-addon-scopes=app,system
ac_add_options --without-wasm-sandboxed-libraries
ac_add_options --allow-addon-sideload
ac_add_options --with-version-file-path="$topsrcdir"/debian/app_version

export MOZ_REQUIRE_SIGNING=
export MOZ_INCLUDE_SOURCE_INFO=1
export MOZ_APP_REMOTINGNAME=waterfox-g
# stackrpms,2
ac_add_options "MOZ_ALLOW_LEGACY_EXTENSIONS=1"

X=$(($(nproc --all)/2))
mk_add_options MOZ_MAKE_FLAGS="-j${X%.*}"
mk_add_options MOZ_OBJDIR="${PWD}"/obj
bgstack15