[tor-bugs] #33215 [Applications/Tor Browser]: Android Toolchain: Add NDK bin path to system path

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 19 22:53:06 UTC 2020


#33215: Android Toolchain: Add NDK bin path to system path
-------------------------------------------------+-------------------------
 Reporter:  sisbell                              |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-mobile, tbb-rbm, tbb-parity,     |  Actual Points:
  TorBrowserTeam202002                           |
Parent ID:  #28704                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by sisbell):

 Replying to [comment:1 sysrqb]:
 > This is based on commit f5fdff3bf0b9e957ab011f95af9e215cca7aeed6 from
 ticket:28704#comment:23.
 >
 > {{{
 > diff --git a/projects/android-toolchain/config b/projects/android-
 toolchain/config
 > index 8c9c8222..4c02b2f3 100644
 > --- a/projects/android-toolchain/config
 > +++ b/projects/android-toolchain/config
 > @@ -15,6 +15,7 @@ var:
 >      export GRADLE_HOME=/var/tmp/dist/[% project %]/gradle
 >      export ANDROID_HOME=$ANDROID_SDK_HOME
 >      export GRADLE_USER_HOME=$GRADLE_HOME
 > +    export PATH=$ANDROID_NDK_HOME/[% c("var/toolchain_arch")
 %]/bin:$PATH
 > }}}
 > If we put the toolchain at the end, are there situations where a system
 executable is used instead of the Android toolchain?

 I'll need to check old logs, but yes some projects just look for clang
 without the host info so it picks up the system executable for clang.

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


More information about the tor-bugs mailing list