зеркало из https://github.com/mozilla/Negatus.git
INACTIVE - http://mzl.la/ghe-archive - C++ version of the Android Java SUTAgent
7fdf2a4c73 | ||
---|---|---|
libs | ||
src | ||
.gitignore | ||
Makefile | ||
README.md | ||
bootstrap.sh | ||
run.sh | ||
setup-tools.sh |
README.md
Prerequisites
You need to:
-
have the Android NDK:
- http://developer.android.com/tools/sdk/ndk/index.html
- use the r5c version
-
have the NSPR headers installed under /usr/include/nspr:
- apt-get install libnspr4-dev, or
- download from https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/
-
export these vars:
- NDKPATH = path to the NDK folder
- ADB = path to the adb binary
-
have a running B2G emulator/device with the ports 20700 and 20701 forwarded:
- adb forward tcp:20700 tcp:20700
- adb forward tcp:20701 tcp:20701
-
install busybox on the device:
- ./setup-tools.sh
-
have the toolchain:
- source bootstrap.sh
Building, running
Just ./run.sh.