[tbb-bugs] #28704 [Applications/Tor Browser]: Compile Tor and dependencies on our own for Android

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 5 16:29:02 UTC 2020


#28704: Compile Tor and dependencies on our own for Android
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  sisbell
     Type:  defect                               |         Status:
                                                 |  needs_revision
 Priority:  High                                 |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-mobile, tbb-rbm, tbb-parity,     |  Actual Points:
  TorBrowserTeam202001                           |
Parent ID:                                       |         Points:  0
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by eighthave):

 I think it makes sense to ship PTs as individual shared libraries, but I
 think that trying to use ''libssl.so'' will be painful.  We've tried that
 in the past, and from that experience, committed to always statically
 linking those kinds of deps in.  I guess it could be worth the pain if PTs
 also need ''libssl.so'' or other libs that are linked into ''libtor.so''.

 Also, I don't remember the details, but Android does add the app's lib dir
 to the loading path, and adds it before ''/system/lib''.  But that is
 probably only for libraries that are loaded from Java.  "Native code"
 probably needs to handle that manually.

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


More information about the tbb-bugs mailing list