mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-01-24 18:12:13 +08:00
55 lines
1.5 KiB
Bash
55 lines
1.5 KiB
Bash
. $topsrcdir/browser/config/mozconfig
|
|
|
|
ac_add_options --prefix=/usr
|
|
ac_add_options --enable-release
|
|
ac_add_options --enable-gold
|
|
ac_add_options --enable-pie
|
|
|
|
# Rust
|
|
ac_add_options --enable-rust
|
|
# Skia engine
|
|
ac_add_options --enable-skia
|
|
|
|
# Release branding
|
|
ac_add_options --enable-official-branding
|
|
ac_add_options --enable-update-channel=release
|
|
MOZ_ADDON_SIGNING=1
|
|
MOZ_REQUIRE_SIGNING=1
|
|
|
|
# Use gtk2 to avoid crash on select file to open
|
|
ac_add_options --enable-default-toolkit=cairo-gtk2
|
|
|
|
# System libraries
|
|
ac_add_options --with-system-nspr
|
|
ac_add_options --with-system-nss
|
|
ac_add_options --with-system-icu
|
|
ac_add_options --with-system-jpeg
|
|
ac_add_options --with-system-png
|
|
ac_add_options --with-system-zlib
|
|
ac_add_options --with-system-bz2
|
|
ac_add_options --with-system-libevent
|
|
ac_add_options --with-system-libvpx
|
|
ac_add_options --enable-system-hunspell
|
|
ac_add_options --enable-system-sqlite
|
|
ac_add_options --enable-system-ffi
|
|
# system cairo without layers acceleration results in choppy video playback
|
|
#ac_add_options --enable-system-cairo
|
|
ac_add_options --enable-system-pixman
|
|
ac_add_options --disable-libproxy
|
|
|
|
# Features
|
|
ac_add_options --enable-startup-notification
|
|
ac_add_options --enable-pulseaudio
|
|
ac_add_options --enable-ffmpeg
|
|
ac_add_options --disable-gconf
|
|
ac_add_options --disable-updater
|
|
ac_add_options --disable-crashreporter
|
|
|
|
# PGO
|
|
|
|
mk_add_options PROFILE_GEN_SCRIPT='EXTRA_TEST_ARGS=10 $(MAKE) -C $(MOZ_OBJDIR) pgo-profile-run'
|
|
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff
|
|
STRIP_FLAGS="--strip-debug"
|
|
|
|
# vim:set ft=sh:
|