Moved JNI helper macros to a separate file

Also initialize a reference to the CharonVpnService class during
JNI_OnLoad, which allows us later to call methods from C to Java.
This commit is contained in:
Tobias Brunner
2012-08-08 15:41:03 +02:00
parent d62d5d7c2e
commit cb887af4cf
4 changed files with 102 additions and 13 deletions
@@ -3,6 +3,7 @@ include $(CLEAR_VARS)
# copy-n-paste from Makefile.am
LOCAL_SRC_FILES := \
android_jni.c android_jni.h \
charonservice.c
# build libandroidbridge -------------------------------------------------------