Last change
on this file since 11995 was 11995, checked in by Mathieu Morlighem, 13 years ago |
merged trunk-jpl and trunk for revision 11994M
|
-
Property svn:executable
set to
*
|
File size:
714 bytes
|
Rev | Line | |
---|
[11673] | 1 | #This installs the Android NDK (Native Development Kit)
|
---|
| 2 | #which is needed for the compilation of C/C++ code into the
|
---|
| 3 | #native architecture of the Android device.
|
---|
| 4 |
|
---|
| 5 | #The android-ndk-r7b-darwin-x86.tar.bz2 dummy.tar.bz2 file was downloaded
|
---|
| 6 | #from the android developer website:
|
---|
| 7 |
|
---|
| 8 | #Cleanup the install
|
---|
| 9 | rm -rf install
|
---|
[11989] | 10 | rm -rf $ANROID_DEV_DIR/tmp
|
---|
[11673] | 11 |
|
---|
| 12 | # Install Android SDK and NDK.
|
---|
| 13 | cp android-ndk-r7b-darwin-x86.tar.bz2 dummy.tar.bz2
|
---|
| 14 | bunzip2 dummy.tar.bz2
|
---|
| 15 | tar -xvf dummy.tar
|
---|
| 16 | rm -rf dummy.tar dummy.tar.bz2
|
---|
| 17 |
|
---|
| 18 | #Move to install
|
---|
| 19 | mv android-ndk-r7b install
|
---|
[11989] | 20 |
|
---|
| 21 | #Create Standalone Development Directory
|
---|
| 22 | $ANDROID_NDK_DIR/build/tools/make-standalone-toolchain.sh --platform=android-5 --install-dir=$ANDROID_DEV_DIR/tmp/android-linux-4.0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.