source: trunk/android-headers/jni/C/populate.sh

Last change on this file was 15213, checked in by gb, 9 years ago

Whatever ${htoffi} is, it should follow the ARM eabi.
Make ${CCL} absolute.

File size: 329 bytes
RevLine 
[15190]1#!/bin/sh
[15213]2htoffi=h-to-ffi.sh
[15190]3NDK=/usr/local/android-ndk-r7
[15210]4CCL=`dirname $0`/../../..
[15213]5CCL=`cd ${CCL};pwd`
[15190]6ANDROIDVERSION=android-9
7HEADERS=${NDK}/platforms/${ANDROIDVERSION}/arch-arm/usr/include
8CFLAGS="-D__ARM_EABI__ -DANDROID -I${HEADERS} -include ${HEADERS}/sys/types.h";export CFLAGS
9
10rm -rf usr
11
12h-to-ffi.sh ${HEADERS}/jni.h
Note: See TracBrowser for help on using the repository browser.