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

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

Tweak a bit.

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