mozconfig-linux-armhf 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. . $topsrcdir/browser/config/mozconfig
  2. mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
  3. mk_add_options MOZ_APP_DISPLAYNAME="Tor Browser"
  4. mk_add_options MOZILLA_OFFICIAL=1
  5. # We want to build with clang now and point to the GCC toolchain until #29041 is
  6. # fixed. We explicitly need to define the host compiler as well as for some
  7. # reason the gcc-toolchain argument does not get passed along otherwise.
  8. CC="clang --gcc-toolchain=/var/tmp/dist/gcc"
  9. CXX="clang++ --gcc-toolchain=/var/tmp/dist/gcc"
  10. HOST_CC=$CC
  11. HOST_CXX=$CXX
  12. export BINDGEN_CFLAGS='--gcc-toolchain=/var/tmp/dist/gcc'
  13. # for machines with 4 GB or less ram, otherwise the build is a swapping frenzy
  14. mk_add_options MOZ_MAKE_FLAGS="-j1"
  15. ac_add_options --host=armv7-unknown-linux-gnueabihf
  16. ac_add_options --target=armv7-unknown-linux-gnueabihf
  17. ac_add_options --enable-optimize
  18. ac_add_options --enable-official-branding
  19. # Let's support GTK3 for ESR60
  20. ac_add_options --enable-default-toolkit=cairo-gtk3
  21. ac_add_options --enable-tor-browser-update
  22. ac_add_options --enable-signmar
  23. ac_add_options --enable-verify-mar
  24. ac_add_options --disable-debug-symbols
  25. ac_add_options --disable-strip
  26. ac_add_options --disable-install-strip
  27. ac_add_options --disable-tests
  28. ac_add_options --disable-debug
  29. ac_add_options --disable-crashreporter
  30. ac_add_options --disable-webrtc
  31. # Let's make sure no preference is enabling either Adobe's or Google's CDM.
  32. # ac_add_options --disable-eme
  33. ac_add_options --enable-proxy-bypass-protection
  34. # Disable telemetry
  35. ac_add_options MOZ_TELEMETRY_REPORTING=
  36. #ac_add_options --disable-ctypes
  37. #ac_add_options --disable-elf-hack
  38. #ac_add_options --disable-stylo