我的android.mk用如下的方式写的:LOCAL_SRC_FILES := json.h json_reader.cpp json_tool.h json_value.cpp json_writer.cpp \
avStreamModule.h Base.h Certificate.h DeviceModule.h Discovery.h EventModule.h Mediastream.h Stun.h \
AtomSocket.cpp AtomSocket.h CProtocolFactory.cpp CProtocolFactory.h md5.cpp md5.h \
streambuffer.cpp streambuffer.h AutoCri.cpp AutoCri.h CommandBuffer.cpp CommandBuffer.h define.h preHeader.h InterManager.cpp \
InterManager.h JniNode.h JniNode.cpp RMNetSDK.cpp RMNetSDK.h UserComand.h h264MultiPlay.cpp h264MultiPlay.h\
golomb.h golomb.c dsputil.h dsputil.c frameringbuffer.h frameringbuffer.cpp AdpcmDecoder.h AdpcmDecoder.cpp \
ffdecoder.cpp ffdecoder.h h264.c H264Decoder.cpp H264Decoder.h mpegvideo.h mpegvideo.c h264data.h h264.h avcodec.h\
common.h common.c AVColorConvert.h AVColorConvert.cpp BitmapCapture.h BitmapCapture.cpp\
但是实际上LOCAL_SRC_FILES应该包含的文件 就在jni文件夹里 里面除了android.mk文件 就是应该包含的文件了。我用最笨的办法 一个一个添加的 请问有什么办法 可以直接包含?
avStreamModule.h Base.h Certificate.h DeviceModule.h Discovery.h EventModule.h Mediastream.h Stun.h \
AtomSocket.cpp AtomSocket.h CProtocolFactory.cpp CProtocolFactory.h md5.cpp md5.h \
streambuffer.cpp streambuffer.h AutoCri.cpp AutoCri.h CommandBuffer.cpp CommandBuffer.h define.h preHeader.h InterManager.cpp \
InterManager.h JniNode.h JniNode.cpp RMNetSDK.cpp RMNetSDK.h UserComand.h h264MultiPlay.cpp h264MultiPlay.h\
golomb.h golomb.c dsputil.h dsputil.c frameringbuffer.h frameringbuffer.cpp AdpcmDecoder.h AdpcmDecoder.cpp \
ffdecoder.cpp ffdecoder.h h264.c H264Decoder.cpp H264Decoder.h mpegvideo.h mpegvideo.c h264data.h h264.h avcodec.h\
common.h common.c AVColorConvert.h AVColorConvert.cpp BitmapCapture.h BitmapCapture.cpp\
但是实际上LOCAL_SRC_FILES应该包含的文件 就在jni文件夹里 里面除了android.mk文件 就是应该包含的文件了。我用最笨的办法 一个一个添加的 请问有什么办法 可以直接包含?
FRAMEWORKS_BASE_SUBDIRS := \
$(addsuffix /java, \
core \
graphics \
location \
media \
opengl \
sax \
telephony \
wifi \
vpn \
keystore \
voip \
slsi \
)LOCAL_SRC_FILES := $(call find-other-java-files,$(FRAMEWORKS_BASE_SUBDIRS))
LOCAL_SRC_FILES := *.h \
*.c \
*.cpp这样不行吗