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

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 11 01:35:24 UTC 2020


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

 * status:  needs_revision => needs_review
 * cc: hans@… (removed)
 * cc: eighthave (added)
 * keywords:  tbb-mobile, tbb-rbm, tbb-parity, TorBrowserTeam202002 => tbb-
     mobile, tbb-rbm, tbb-parity, TorBrowserTeam202002R


Comment:

 Latest Set of Commits

 https://github.com/sisbell/tor-browser-build/commits/bug-28704a

 The following commits specify the info and NDK setup dependent projects
 need for configuration.

  * Bug 33216: Add Android Host and ABI Info to RBM.conf
  * Bug 33215: Android Toolchain: Add NDK bin path to system path

 The above two issues address previous review comments to add
 ANDROID_NDK_HOME to setup in android-toolchain and another review comment
 to rename ''var/host ''to ''var/configure_host''

 Modify the core dependent libraries to build with Android

  * Bug 28764: OpenSSL Build for Android
  * Bug 28765: !LibEvent Build for Android

 For the reason that LibEvent is upgraded:
 https://trac.torproject.org/projects/tor/ticket/28765#comment:6 . I also
 made a change from the previous review commit to only use CC=clang for
 Android.

 Next add compression libraries

  * Bug 32991: TBB Project For ZSTD
  * Bug 32992: TBB Project for LZMA

 Compile tor with all dependencies

  * Bug 28766: Tor Build for Android

 This last commit packages up everything within the Android library

  * Bug 32993: Package Tor With Tor Android Service Project

 Other issues:

  1. There was a suggestion to move some of the fields in configure_opt up
 to rbm.  OpenSSL doesn't use the same configure_host value as other
 projects so this will require some more discussion if we want to move
 forward with this suggestion.
  1. Information regarding libevent --disable-libevent-regress--disable-
 samples. I need to look back through my notes. I'll post in a follow up
 comment.


  1. Shared Libraries. I was unable to get shared libraries working with
 LD_LIBRARY_PATH on my device. It also seems support for this can be
 different across OEMs. So I moved forward with static libraries.

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


More information about the tor-bugs mailing list