android: Remove/filter header files from LOCAL_SRC_FILES
This avoids huge warnings when building the native code.
This commit is contained in:
@@ -2,7 +2,7 @@ LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# copy-n-paste from Makefile.am
|
||||
LOCAL_SRC_FILES := \
|
||||
libipsec_la_SOURCES := \
|
||||
ipsec.c ipsec.h \
|
||||
esp_context.c esp_context.h \
|
||||
esp_packet.c esp_packet.h \
|
||||
@@ -15,6 +15,8 @@ ipsec_processor.c ipsec_processor.h \
|
||||
ipsec_sa.c ipsec_sa.h \
|
||||
ipsec_sa_mgr.c ipsec_sa_mgr.h
|
||||
|
||||
LOCAL_SRC_FILES := $(filter %.c,$(libipsec_la_SOURCES))
|
||||
|
||||
# build libipsec ---------------------------------------------------------------
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
|
||||
Reference in New Issue
Block a user