android: Remove/filter header files from LOCAL_SRC_FILES

This avoids huge warnings when building the native code.
This commit is contained in:
Tobias Brunner
2013-03-20 15:24:26 +01:00
parent 8249f288f2
commit e5d819b617
9 changed files with 36 additions and 20 deletions
+3 -1
View File
@@ -2,13 +2,15 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
# copy-n-paste from Makefile.am (update for LEX/YACC)
LOCAL_SRC_FILES := \
starter_SOURCES := \
parser.c lexer.c ipsec-parser.h netkey.c args.h netkey.h \
starterstroke.c confread.c \
starterstroke.h confread.h args.c \
keywords.c files.h keywords.h cmp.c starter.c cmp.h invokecharon.c \
invokecharon.h klips.c klips.h
LOCAL_SRC_FILES := $(filter %.c,$(starter_SOURCES))
# build starter ----------------------------------------------------------------
LOCAL_C_INCLUDES += \