-
Notifications
You must be signed in to change notification settings - Fork 12
Building the code for Android
Heungsik Eom edited this page Jul 18, 2014
·
15 revisions
Tested on Ubuntu 12.04 and Debian 7.
Go on the Building the code for Linux page and follow the instructions in the first two sections:
- Download dependencies
- Download source code
-
Return to libjingle root directory, update .gclient file to download Android dependencies
cd ../../../ echo "target_os = ['android', 'unix']" >> .gclient gclient sync --force
-
Set up android environmental variables (ignore message asking for Oracle Java)
cd trunk source build/android/envsetup.sh
-
Create ninja build files
gclient runhooks --force
-
Build tincan for android (binary located at out/Release/ipop-tincan)
ninja -C out/Release ipop-tincan
-
To build debug version with gdb symbols (but creates 25 MB binary)
ninja -C out/Debug ipop-tincan
-
The generated binary is located at
out/Release/ipop-tincan
orout/Debug/ipop-tincan
-
Download SocialVPN and GroupVPN controllers
wget http://github.com/ipop-project/controllers/raw/master/src/ipoplib.py wget http://github.com/ipop-project/controllers/raw/master/src/svpn_controller.py wget http://github.com/ipop-project/controllers/raw/master/src/gvpn_controller.py
- Building the code
- IPOP packages
- Running SocialVPN nodes
- Running GroupVPN nodes
- Deploying OSN and NAT traversal services
- Test and monitoring
- Extending the code
- General documentation