1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4aacdec_sources := $(wildcard $(LOCAL_PATH)/libAACdec/src/*.cpp) 5aacdec_sources := $(aacdec_sources:$(LOCAL_PATH)/libAACdec/src/%=%) 6 7aacenc_sources := $(wildcard $(LOCAL_PATH)/libAACenc/src/*.cpp) 8aacenc_sources := $(aacenc_sources:$(LOCAL_PATH)/libAACenc/src/%=%) 9 10pcmutils_sources := $(wildcard $(LOCAL_PATH)/libPCMutils/src/*.cpp) 11pcmutils_sources := $(pcmutils_sources:$(LOCAL_PATH)/libPCMutils/src/%=%) 12 13fdk_sources := $(wildcard $(LOCAL_PATH)/libFDK/src/*.cpp) 14fdk_sources := $(fdk_sources:$(LOCAL_PATH)/libFDK/src/%=%) 15 16sys_sources := $(wildcard $(LOCAL_PATH)/libSYS/src/*.cpp) 17sys_sources := $(sys_sources:$(LOCAL_PATH)/libSYS/src/%=%) 18 19mpegtpdec_sources := $(wildcard $(LOCAL_PATH)/libMpegTPDec/src/*.cpp) 20mpegtpdec_sources := $(mpegtpdec_sources:$(LOCAL_PATH)/libMpegTPDec/src/%=%) 21 22mpegtpenc_sources := $(wildcard $(LOCAL_PATH)/libMpegTPEnc/src/*.cpp) 23mpegtpenc_sources := $(mpegtpenc_sources:$(LOCAL_PATH)/libMpegTPEnc/src/%=%) 24 25sbrdec_sources := $(wildcard $(LOCAL_PATH)/libSBRdec/src/*.cpp) 26sbrdec_sources := $(sbrdec_sources:$(LOCAL_PATH)/libSBRdec/src/%=%) 27 28sbrenc_sources := $(wildcard $(LOCAL_PATH)/libSBRenc/src/*.cpp) 29sbrenc_sources := $(sbrenc_sources:$(LOCAL_PATH)/libSBRenc/src/%=%) 30 31LOCAL_SRC_FILES := \ 32 $(aacdec_sources:%=libAACdec/src/%) \ 33 $(aacenc_sources:%=libAACenc/src/%) \ 34 $(pcmutils_sources:%=libPCMutils/src/%) \ 35 $(fdk_sources:%=libFDK/src/%) \ 36 $(sys_sources:%=libSYS/src/%) \ 37 $(mpegtpdec_sources:%=libMpegTPDec/src/%) \ 38 $(mpegtpenc_sources:%=libMpegTPEnc/src/%) \ 39 $(sbrdec_sources:%=libSBRdec/src/%) \ 40 $(sbrenc_sources:%=libSBRenc/src/%) 41 42LOCAL_CFLAGS := -DANDROID 43LOCAL_CFLAGS += -Wno-sequence-point -Wno-extra 44 45LOCAL_C_INCLUDES := \ 46 $(LOCAL_PATH)/libAACdec/include \ 47 $(LOCAL_PATH)/libAACenc/include \ 48 $(LOCAL_PATH)/libPCMutils/include \ 49 $(LOCAL_PATH)/libFDK/include \ 50 $(LOCAL_PATH)/libSYS/include \ 51 $(LOCAL_PATH)/libMpegTPDec/include \ 52 $(LOCAL_PATH)/libMpegTPEnc/include \ 53 $(LOCAL_PATH)/libSBRdec/include \ 54 $(LOCAL_PATH)/libSBRenc/include 55 56LOCAL_MODULE:= libFraunhoferAAC 57 58include $(BUILD_STATIC_LIBRARY) 59