Added support for the curl plugin on Android

This commit is contained in:
Tobias Brunner 2012-06-14 18:20:35 +02:00
parent 63afd833b9
commit 197dbf5f72
2 changed files with 7 additions and 0 deletions

View File

@ -39,6 +39,7 @@ add_plugin = $(if $(call plugin_enabled,$(1)), \
# 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
# some definitions

View File

@ -80,6 +80,12 @@ utils/backtrace.c utils/backtrace.h
LOCAL_SRC_FILES += $(call add_plugin, aes)
LOCAL_SRC_FILES += $(call add_plugin, curl)
ifneq ($(call plugin_enabled, curl),)
LOCAL_C_INCLUDES += $(libcurl_PATH)
LOCAL_SHARED_LIBRARIES += libcurl
endif
LOCAL_SRC_FILES += $(call add_plugin, des)
LOCAL_SRC_FILES += $(call add_plugin, fips-prf)