[tbb-commits] [tor-browser/tor-browser-60.1.0esr-8.0-1] Bug 25741 - TBA: Disable features at compile-time

gk at torproject.org gk at torproject.org
Fri Jul 27 08:37:27 UTC 2018


commit 377b11c036a42e4157e02ab8aaa8b1fc9a8cd45b
Author: Matthew Finkel <Matthew.Finkel at gmail.com>
Date:   Mon Apr 9 19:48:12 2018 +0000

    Bug 25741 - TBA: Disable features at compile-time
    
    MOZ_NATIVE_DEVICES for casting and the media player
    MOZ_TELEMETRY_REPORTING for telemetry
    MOZ_DATA_REPORTING for all data reporting preferences (crashreport, telemetry, geo)
    
    Document two remaining but unused defines:
      MOZ_CAPTURE
      MOZ_XULRUNNER
---
 mobile/android/confvars.sh | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/mobile/android/confvars.sh b/mobile/android/confvars.sh
index e1b507396c84..43062e7352c6 100644
--- a/mobile/android/confvars.sh
+++ b/mobile/android/confvars.sh
@@ -30,9 +30,14 @@ MOZ_ANDROID_BROWSER_INTENT_CLASS=org.mozilla.gecko.BrowserApp
 
 MOZ_NO_SMART_CARDS=1
 
+# TBA: MOZ_XULRUNNER and MOZ_CAPTURE defines are dead/unused, leaving here for easier future rebasing
+# Bug 1478438
+
 MOZ_XULRUNNER=
 
 MOZ_CAPTURE=1
+
+# Adds MIME-type support for raw video
 MOZ_RAW=1
 
 # use custom widget for html:select
@@ -42,3 +47,15 @@ MOZ_APP_ID={aa3c5121-dab2-40e2-81ca-7ea25febc110}
 
 # Enable checking that add-ons are signed by the trusted root
 MOZ_ADDON_SIGNING=1
+
+### Tor Browser for Android ###
+
+# Disables support at compile-time for casting (Mozilla Media Manager)
+# and prevents dependency on Google Play Services support
+unset MOZ_NATIVE_DEVICES
+
+# Disable telemetry at compile-time
+unset MOZ_TELEMETRY_REPORTING
+
+# Disable data reporting at compile-time
+unset MOZ_DATA_REPORTING





More information about the tbb-commits mailing list