[tbb-bugs] #33594 [Applications/Tor Browser]: Fenix Use of Glean

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 12 01:47:37 UTC 2020


#33594: Fenix Use of Glean
------------------------------------------+--------------------------------
     Reporter:  sisbell                   |      Owner:  tbb-team
         Type:  defect                    |     Status:  new
     Priority:  Medium                    |  Milestone:
    Component:  Applications/Tor Browser  |    Version:
     Severity:  Normal                    |   Keywords:  tbb-mobile,
                                          |  Android
Actual Points:                            |  Parent ID:  #33184
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+--------------------------------
 Glean is the telemetry library that Fenix uses, which I think we don't
 want to add to the final apk.

 There two ways to handle this

  1. Create a TBB project for glean and include it as a compile time
 dependency in android-components. Then we just don't include the aar in
 the final project, which disables the feature.
 2. Patch the Fenix project to not use glean

 I'm not that keen on (1) since we have to pull in and configure rust. (2)
 also seems a bit of a pain because the android-components is going through
 heavy development would require redoing the patches each time.

 I have pref for (2). Thoughts?

 Remark from components/browser/engine-gecko-nightly/build.gradle

 {{{
     // We only compile against Glean. It's up to the app to add those
 dependencies
     // if it wants to collect !GeckoView telemetry through the Glean SDK.
 }}}

 Project: https://github.com/mozilla/glean

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33594>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list