tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

base-browser (1471B)


      1 # Shared build settings and settings to enhance security and privacy.
      2 
      3 . $topsrcdir/browser/config/mozconfig
      4 
      5 if test -f "$topsrcdir/mozconfig-toolchain"; then
      6     . $topsrcdir/mozconfig-toolchain
      7 fi
      8 
      9 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
     10 
     11 export MOZILLA_OFFICIAL=1
     12 
     13 ac_add_options --enable-optimize
     14 ac_add_options --enable-rust-simd
     15 
     16 ac_add_options --disable-unverified-updates
     17 ac_add_options --enable-base-browser-update
     18 
     19 ac_add_options --enable-bundled-fonts
     20 
     21 ac_add_options --disable-tests
     22 ac_add_options --disable-debug
     23 
     24 ac_add_options --disable-crashreporter
     25 # Before removing, please notice that WebRTC does not work on mingw (Bug 1393901)
     26 ac_add_options --disable-webrtc
     27 ac_add_options --disable-parental-controls
     28 ac_add_options --enable-proxy-bypass-protection
     29 # See bugs #30575 and #32418: system policies are harmful either because they
     30 # could allow proxy bypass, and override a number of other preferences we set
     31 ac_add_options --disable-system-policies
     32 # tor-browser#44394
     33 ac_add_options --disable-system-preferences
     34 
     35 # See bug #41131
     36 ac_add_options --disable-backgroundtasks
     37 
     38 # Disable telemetry
     39 ac_add_options MOZ_TELEMETRY_REPORTING=
     40 
     41 # Disable the creation of a <something>.default that Firefox by default creates
     42 # for old version that could not use dedicated profiles. See tor-browser#41542.
     43 ac_add_options --disable-legacy-profile-creation
     44 
     45 if test -z "$WASI_SYSROOT"; then
     46     ac_add_options --without-wasm-sandboxed-libraries
     47 fi