Added an Android specific credential set that provides CA certificates via JNI
[strongswan.git] / src / frontends / android / jni / libandroidbridge / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 # copy-n-paste from Makefile.am
5 LOCAL_SRC_FILES := \
6 android_jni.c android_jni.h \
7 backend/android_creds.c backend/android_creds.h \
8 charonservice.c charonservice.h \
9 kernel/android_ipsec.c kernel/android_ipsec.h \
10 kernel/android_net.c kernel/android_net.h
11
12 # build libandroidbridge -------------------------------------------------------
13
14 LOCAL_C_INCLUDES += \
15 $(libvstr_PATH) \
16 $(strongswan_PATH)/src/libipsec \
17 $(strongswan_PATH)/src/libhydra \
18 $(strongswan_PATH)/src/libcharon \
19 $(strongswan_PATH)/src/libstrongswan
20
21 LOCAL_CFLAGS := $(strongswan_CFLAGS) \
22 -DPLUGINS='"$(strongswan_CHARON_PLUGINS)"'
23
24 LOCAL_MODULE := libandroidbridge
25
26 LOCAL_MODULE_TAGS := optional
27
28 LOCAL_ARM_MODE := arm
29
30 LOCAL_PRELINK_MODULE := false
31
32 LOCAL_LDLIBS := -llog
33
34 LOCAL_SHARED_LIBRARIES := libstrongswan libhydra libipsec libcharon
35
36 include $(BUILD_SHARED_LIBRARY)
37
38