mozconfig-windows-x86_64 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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-strip
  22. ac_add_options --enable-official-branding
  23. ac_add_options --enable-tor-browser-update
  24. ac_add_options --enable-signmar
  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-tests
  34. # Disable telemetry
  35. ac_add_options MOZ_TELEMETRY_REPORTING=