[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #24457 [Core Tor/Tor]: Integrate tor-android build files directly into tor.git



#24457: Integrate tor-android build files directly into tor.git
-----------------------------+----------------------------------
 Reporter:  n8fr8            |          Owner:  (none)
     Type:  enhancement      |         Status:  new
 Priority:  Medium           |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor     |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:  mobile, android  |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:  Sponsor8-can
-----------------------------+----------------------------------

Comment (by hans):

 So my 'eighthave' account seems to have been nuked, so I'll post using
 'hans' for now.

 So upon thinking about this a bit more, it seems that if things need to be
 only in autotools, then the current `Makefile` is really probably the best
 it is going to get.  You might be able to include some of the
 configuration for Android in the autotools files instead of the
 `Makefile`.  Then in order to built for given architectures, there has to
 be one call to this whole process for each arch, then the build results
 are assembled by us outside of that `Makefile`.  This `Makefile` does
 work, but it is missing some of the arch-specific optimizations and more
 crafted stripping of unused code.
 https://github.com/n8fr8/orbot/blob/master/external/Makefile

 If we can get `tor` builds working with `ndk-build`, then `tor`, `xz`,
 `lzma`, `libevent` and maybe even `openssl` would be all built together
 with a single call to `ndk-build`.  Otherwise `openssl` would have to be
 built beforehand using one of the existing build processes.  `ndk_build`
 would handle building all the specified arches for us, as well as include
 the arch and stripping optimizations.

 We should probably switch over to the official `openssl` build process for
 Android in any case:
 https://wiki.openssl.org/index.php/Android

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24457#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs