android: Remove/filter header files from LOCAL_SRC_FILES
This avoids huge warnings when building the native code.
This commit is contained in:
@@ -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 += \
|
||||
|
||||
Reference in New Issue
Block a user