mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Update tor build process
@@ -1,48 +1 @@
|
||||
* Install the [Android NDK](https://developer.android.com/ndk/downloads/)
|
||||
* `export ANDROID_NDK_HOME=/path/to/ndk`
|
||||
* `git clone https://github.com/n8fr8/tor-android`
|
||||
* `cd tor-android`
|
||||
* `git submodule update --init`
|
||||
* `cd external/libevent`
|
||||
* `git checkout release-2.0.22-stable` (or latest stable release)
|
||||
* `cd ../openssl`
|
||||
* `git checkout OpenSSL_1_0_2o` (or latest stable release)
|
||||
* `cd ../tor`
|
||||
* `git checkout tor-0.3.2.9` (or latest stable release)
|
||||
* `cd ../..`
|
||||
|
||||
ARM binary with PIE (Android API version 16+):
|
||||
* `unset APP_ABI`
|
||||
* `unset NDK_PLATFORM_LEVEL`
|
||||
* `unset PIEFLAGS`
|
||||
* `make -C external clean tor`
|
||||
* `mv external/bin/tor .`
|
||||
* `strip tor` (requires binutils-multiarch)
|
||||
* `zip tor_arm_pie.zip tor`
|
||||
|
||||
ARM binary without PIE (Android API version 14-15):
|
||||
* `unset APP_ABI`
|
||||
* `export NDK_PLATFORM_LEVEL=14`
|
||||
* `export PIEFLAGS=`
|
||||
* `make -C external clean tor`
|
||||
* `mv external/bin/tor .`
|
||||
* `strip tor` (requires binutils-multiarch)
|
||||
* `zip tor_arm.zip tor`
|
||||
|
||||
x86 binary with PIE (Android API version 16+):
|
||||
* `export APP_ABI=x86`
|
||||
* `unset NDK_PLATFORM_LEVEL`
|
||||
* `unset PIEFLAGS`
|
||||
* `make -C external clean tor`
|
||||
* `mv external/bin/tor .`
|
||||
* `strip tor` (requires binutils-multiarch)
|
||||
* `zip tor_x86_pie.zip tor`
|
||||
|
||||
x86 binary without PIE (Android API version 14-15):
|
||||
* `export APP_ABI=x86`
|
||||
* `export NDK_PLATFORM_LEVEL=14`
|
||||
* `export PIEFLAGS=`
|
||||
* `make -C external clean tor`
|
||||
* `mv external/bin/tor .`
|
||||
* `strip tor` (requires binutils-multiarch)
|
||||
* `zip tor_x86.zip tor`
|
||||
The Tor binaries are built with [tor-reproducer](https://code.briarproject.org/briar/tor-reproducer) and the pluggable transport binaries are build with [go-reproducer](https://code.briarproject.org/briar/go-reproducer).
|
||||
Reference in New Issue
Block a user