mozconfig-windows-x86_64 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. CROSS_COMPILE=1
  2. HOST_CC="clang"
  3. HOST_CXX="clang++"
  4. CC="x86_64-w64-mingw32-clang"
  5. CXX="x86_64-w64-mingw32-clang++"
  6. CXXFLAGS="-fms-extensions"
  7. AR=llvm-ar
  8. RANLIB=llvm-ranlib
  9. clang_path=/var/tmp/dist/mingw-w64-clang
  10. # For Stylo
  11. BINDGEN_CFLAGS="-I$clang_path/x86_64-w64-mingw32/include/c++/v1 -I$clang_path/x86_64-w64-mingw32/include"
  12. ac_add_options --enable-application=browser
  13. ac_add_options --target=x86_64-w64-mingw32
  14. ac_add_options --with-toolchain-prefix=x86_64-w64-mingw32-
  15. ac_add_options --enable-default-toolkit=cairo-windows
  16. mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-mingw
  17. mk_add_options MOZ_APP_DISPLAYNAME="Tor Browser"
  18. export MOZILLA_OFFICIAL=1
  19. ac_add_options --disable-debug
  20. ac_add_options --enable-optimize
  21. ac_add_options --enable-rust-simd
  22. ac_add_options --enable-strip
  23. ac_add_options --enable-official-branding
  24. ac_add_options --enable-tor-browser-update
  25. ac_add_options --enable-verify-mar
  26. ac_add_options --disable-bits-download
  27. # Let's make sure no preference is enabling either Adobe's or Google's CDM.
  28. ac_add_options --disable-eme
  29. ac_add_options --disable-crashreporter
  30. ac_add_options --disable-maintenance-service
  31. ac_add_options --enable-proxy-bypass-protection
  32. ac_add_options --disable-webrtc # Bug 1393901
  33. ac_add_options --disable-parental-controls
  34. ac_add_options --disable-tests
  35. # Disable telemetry
  36. ac_add_options MOZ_TELEMETRY_REPORTING=
  37. ac_add_options --disable-default-browser-agent