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:
@@ -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 -------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user