
You only need to run make android_install again if you've made changes to the NSS tests or NSS itself. Once you've installed the NSS tests and binaries, you can run tests multiple times on those binaries. The android_get_result target fetches the tests results directory from android to the host. The android_run_tests target logins into the android device and runs the tests.

The android_install target copies the NSS built on the host and tests from the host to the android device.
Android ndk r5b for android#
Once NSS for Android has built, you can run the tests on your android device as follows: Use the NSS Makefile to build android as you would normally: Mozilla/dbm mozilla/security/coreconf mozilla/security/nss mozilla/security/dbm The easiest way to get and NSS tree is with cvs:

Or unclick "Enable Password" to disable password login Once you've installed your certificate, you should also change your password on your android device.Įither select "Password: to change your password The default is 'admin', which the server will tell you). (NOTE: you will be prompted for a password. Start your SSHDroid App, then run the following on your Linux host.
Android ndk r5b install#
Now you need to install the ssh keys into your SSHDroid. If you already have SSH keys set up, then you can skip this step. You will want to set those environment as the environment variables ANDROID_PORT and ANDROID_ADDR on your Linux host:Įxport sure to use the your actual values (not my examples).įirst you need to follow the instructions to set up a pair of SSH keys on your Linux host. It will look something 2222 is the port, and is the address. Once it's installed, lauch the app and note the filed marked 'Address'. The android test system uses sftp and ssh to talk to our android device In order to use these, you must first install SSHDroid. Setting up your Android device Getting SSHDroid Also, to tell the build to build android rather than native linux, you need to set BUILD_ANDROID to 1. You must set the environment variable ANDROID_NDK to the path where you extracted the NDK.

Yum install glibc.i686 zlib.i686 libstdc++.i686 If you are Linux 64 bit, you may need to get the following packages: If you are on Linux 32 bit, you are done. NDK rev 5 has been tested and are known to work. NSS Android build Setting up the Cross build environment Downloading the NDKĭownload and extract the Android NDK.
