]> git.ipfire.org Git - people/ms/strongswan.git/blobdiff - Android.mk
libipsec: Add a unit-test test runner
[people/ms/strongswan.git] / Android.mk
index ad7093d94766a0edc5bc668e2e7f371b41d96d77..7b8bc8f87d7bb29c5feda2eac6458f271e315788 100644 (file)
@@ -17,12 +17,12 @@ include $(CLEAR_VARS)
 # this is the list of plugins that are built into libstrongswan and charon
 # also these plugins are loaded by default (if not changed in strongswan.conf)
 strongswan_CHARON_PLUGINS := android-log openssl fips-prf random nonce pubkey \
-       pkcs1 pem xcbc hmac kernel-netlink socket-default android \
+       pkcs1 pkcs8 pem xcbc hmac kernel-netlink socket-default android-dns \
        stroke eap-identity eap-mschapv2 eap-md5 eap-gtc
 
 ifneq ($(strongswan_BUILD_SCEPCLIENT),)
 # plugins loaded by scepclient
-strongswan_SCEPCLIENT_PLUGINS := openssl curl fips-prf random pkcs1 pem
+strongswan_SCEPCLIENT_PLUGINS := openssl curl fips-prf random pkcs1 pkcs7 pem
 endif
 
 strongswan_STARTER_PLUGINS := kernel-netlink
@@ -36,7 +36,6 @@ include $(LOCAL_PATH)/Android.common.mk
 
 # includes
 strongswan_PATH := $(LOCAL_PATH)
-libvstr_PATH := external/strongswan-support/vstr/include
 libcurl_PATH := external/strongswan-support/libcurl/include
 libgmp_PATH := external/strongswan-support/gmp
 openssl_PATH := external/openssl/include
@@ -61,6 +60,7 @@ strongswan_CFLAGS := \
        -DHAVE_ALLOCA_H \
        -DHAVE_ALLOCA \
        -DHAVE_CLOCK_GETTIME \
+       -DHAVE_DLADDR \
        -DHAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC \
        -DHAVE_PRCTL \
        -DHAVE_LINUX_UDP_H \
@@ -77,7 +77,7 @@ strongswan_CFLAGS := \
        -DMONOLITHIC \
        -DUSE_IKEV1 \
        -DUSE_IKEV2 \
-       -DUSE_VSTR \
+       -DUSE_BUILTIN_PRINTF \
        -DDEBUG \
        -DROUTING_TABLE=0 \
        -DROUTING_TABLE_PRIO=220 \
@@ -100,7 +100,8 @@ strongswan_BUILD := \
        libhydra \
        libstrongswan \
        libtncif \
-       libtnccs
+       libtnccs \
+       libimcv
 
 ifneq ($(strongswan_BUILD_STARTER),)
 strongswan_BUILD += \