12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- . $topsrcdir/browser/config/mozconfig
- mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
- mk_add_options MOZ_APP_DISPLAYNAME="Tor Browser"
- mk_add_options MOZILLA_OFFICIAL=1
- # We want to build with clang now and point to the GCC toolchain until #29041 is
- # fixed. We explicitly need to define the host compiler as well as for some
- # reason the gcc-toolchain argument does not get passed along otherwise.
- CC="clang --gcc-toolchain=/var/tmp/dist/gcc"
- CXX="clang++ --gcc-toolchain=/var/tmp/dist/gcc"
- HOST_CC=$CC
- HOST_CXX=$CXX
- export BINDGEN_CFLAGS='--gcc-toolchain=/var/tmp/dist/gcc'
- # for machines with 4 GB or less ram, otherwise the build is a swapping frenzy
- mk_add_options MOZ_MAKE_FLAGS="-j1"
- ac_add_options --host=armv7-unknown-linux-gnueabihf
- ac_add_options --target=armv7-unknown-linux-gnueabihf
- ac_add_options --enable-optimize
- ac_add_options --enable-official-branding
- # Let's support GTK3 for ESR60
- ac_add_options --enable-default-toolkit=cairo-gtk3
- ac_add_options --enable-tor-browser-update
- ac_add_options --enable-signmar
- ac_add_options --enable-verify-mar
- ac_add_options --disable-debug-symbols
- ac_add_options --disable-strip
- ac_add_options --disable-install-strip
- ac_add_options --disable-tests
- ac_add_options --disable-debug
- ac_add_options --disable-crashreporter
- ac_add_options --disable-webrtc
- # Let's make sure no preference is enabling either Adobe's or Google's CDM.
- # ac_add_options --disable-eme
- ac_add_options --enable-proxy-bypass-protection
- # Disable telemetry
- ac_add_options MOZ_TELEMETRY_REPORTING=
- #ac_add_options --disable-ctypes
- #ac_add_options --disable-elf-hack
- #ac_add_options --disable-stylo
|