Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 855 Bytes

File metadata and controls

32 lines (23 loc) · 855 Bytes

This is where we store the patches and revision of the v8 repository that we use in the Android port of Titanium Mobile.

To build V8, you'll need:

  • Android NDK r6b
  • A recent version of SCons

Build V8 for Android against the NDK:

$ ./build_v8.sh -n /path/to/android-ndk

OR

$ export ANDROID_NDK=/path/to/android-ndk
$ ./build_v8.sh

Full build_v8.sh usage:

$ ./build_v8.sh -h
Usage: ./build_v8.sh options

This script builds v8 against the Android NDK. 
Options:
	-h              Show this help message and exit
	-n <ndk_dir>    The path to the Android NDK. Alternatively, you may set the ANDROID_NDK environment variable
	-j <num-cpus>   The number of processors to use in building (passed on to scons)
	-m <mode>       The v8 build mode (release, debug. default: release)
	-t              Build a thirdparty tarball for uploading