tor-browser

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

basebrowser.configure (1356B)


      1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
      2 # vim: set filetype=python:
      3 # This Source Code Form is subject to the terms of the Mozilla Public
      4 # License, v. 2.0. If a copy of the MPL was not distributed with this
      5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      6 
      7 # Set Base Browser default config
      8 # See tor-browser#25741 and tor-browser#41584.
      9 
     10 imply_option("MOZ_ANDROID_EXCLUDE_FONTS", False)
     11 
     12 # Disable uploading crash reports and dump files to an external server
     13 # This is still configured in old-configure. Uncomment when this moves
     14 # to the python config
     15 # imply_option("MOZ_CRASHREPORTER", False)
     16 
     17 # Disable uploading information about the browser configuration and
     18 # performance to an external server. See tor-browser#32493.
     19 imply_option("MOZ_SERVICES_HEALTHREPORT", False)
     20 
     21 # Disable creating telemetry and data reports that are uploaded to an
     22 # external server
     23 # These aren't actually configure options. These are disabled in
     24 # confvars.sh, but they look like configure options so we'll document
     25 # them here, as well.
     26 # XXX: no confvars.sh here
     27 # imply_option("MOZ_TELEMETRY_REPORTING", False)
     28 # imply_option("MOZ_DATA_REPORTING", False)
     29 
     30 # tor-browser#24796: This controls some permissions in GeckoView's
     31 # AndroidManifest.xml
     32 imply_option("MOZ_ANDROID_NETWORK_STATE", False)
     33 imply_option("MOZ_ANDROID_LOCATION", False)