[guardian-dev] distributing the tor binary as an AAR

Hans-Christoph Steiner hans at guardianproject.info
Thu Sep 29 05:55:14 EDT 2016


Nathan of Guardian:
> 
> 
> On Wed, Sep 28, 2016, at 07:33 AM, Hans-Christoph Steiner wrote: 
>> I just had a thought: since Briar and Orbot both are building tor and
>> need regular updates, we could package the tor daemon binary as an AAR
>> and publish it on maven repos.  Then there can be a neat and clean build
>> for just the tor daemon, and it would make updating it really easy in
>> the apps.
> 
> Yes, this makes a lot of sense. I know both Thali and Briar have created
> headless Tor Service libraries in the past, but I like the idea of
> separating just the binary build process. 
> 
> The other step I would really hope we can take is to move to a pure NDK
> build process for this.
> 
>> This would be worthwhile as long as it is easy to use the tor daemon
>> binary from the AAR package.
> 
> I think this is possible. I will work on it this week at tor-dev as part
> of wrapping up my gradle refactoring efforts.
> 
> +n

Seems like if this approach is workable for tor daemon, then it would
work for all of the daemons included in Orbot.  Then the Orbot repo
itself wouldn't need any NDK stuff in it, and could be a straightforward
gradle setup.

.hc

-- 
PGP fingerprint: EE66 20C7 136B 0D2C 456C  0A4D E9E2 8DEA 00AA 5556
https://pgp.mit.edu/pks/lookup?op=vindex&search=0xE9E28DEA00AA5556


More information about the guardian-dev mailing list