2012-07-11 19:15:24 +02:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2015-08-07 22:51:09 +02:00
|
|
|
aacdec_sources := $(sort $(wildcard $(LOCAL_PATH)/libAACdec/src/*.cpp))
|
2012-07-11 19:15:24 +02:00
|
|
|
aacdec_sources := $(aacdec_sources:$(LOCAL_PATH)/libAACdec/src/%=%)
|
|
|
|
|
2015-08-07 22:51:09 +02:00
|
|
|
aacenc_sources := $(sort $(wildcard $(LOCAL_PATH)/libAACenc/src/*.cpp))
|
2012-07-11 19:15:24 +02:00
|
|
|
aacenc_sources := $(aacenc_sources:$(LOCAL_PATH)/libAACenc/src/%=%)
|
|
|
|
|
2015-08-07 22:51:09 +02:00
|
|
|
pcmutils_sources := $(sort $(wildcard $(LOCAL_PATH)/libPCMutils/src/*.cpp))
|
2012-07-11 19:15:24 +02:00
|
|
|
pcmutils_sources := $(pcmutils_sources:$(LOCAL_PATH)/libPCMutils/src/%=%)
|
|
|
|
|
2015-08-07 22:51:09 +02:00
|
|
|
fdk_sources := $(sort $(wildcard $(LOCAL_PATH)/libFDK/src/*.cpp))
|
2012-07-11 19:15:24 +02:00
|
|
|
fdk_sources := $(fdk_sources:$(LOCAL_PATH)/libFDK/src/%=%)
|
|
|
|
|
2015-08-07 22:51:09 +02:00
|
|
|
sys_sources := $(sort $(wildcard $(LOCAL_PATH)/libSYS/src/*.cpp))
|
2012-07-11 19:15:24 +02:00
|
|
|
sys_sources := $(sys_sources:$(LOCAL_PATH)/libSYS/src/%=%)
|
|
|
|
|
2015-08-07 22:51:09 +02:00
|
|
|
mpegtpdec_sources := $(sort $(wildcard $(LOCAL_PATH)/libMpegTPDec/src/*.cpp))
|
2012-07-11 19:15:24 +02:00
|
|
|
mpegtpdec_sources := $(mpegtpdec_sources:$(LOCAL_PATH)/libMpegTPDec/src/%=%)
|
|
|
|
|
2015-08-07 22:51:09 +02:00
|
|
|
mpegtpenc_sources := $(sort $(wildcard $(LOCAL_PATH)/libMpegTPEnc/src/*.cpp))
|
2012-07-11 19:15:24 +02:00
|
|
|
mpegtpenc_sources := $(mpegtpenc_sources:$(LOCAL_PATH)/libMpegTPEnc/src/%=%)
|
|
|
|
|
2015-08-07 22:51:09 +02:00
|
|
|
sbrdec_sources := $(sort $(wildcard $(LOCAL_PATH)/libSBRdec/src/*.cpp))
|
2012-07-11 19:15:24 +02:00
|
|
|
sbrdec_sources := $(sbrdec_sources:$(LOCAL_PATH)/libSBRdec/src/%=%)
|
|
|
|
|
2015-08-07 22:51:09 +02:00
|
|
|
sbrenc_sources := $(sort $(wildcard $(LOCAL_PATH)/libSBRenc/src/*.cpp))
|
2012-07-11 19:15:24 +02:00
|
|
|
sbrenc_sources := $(sbrenc_sources:$(LOCAL_PATH)/libSBRenc/src/%=%)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
$(aacdec_sources:%=libAACdec/src/%) \
|
|
|
|
$(aacenc_sources:%=libAACenc/src/%) \
|
|
|
|
$(pcmutils_sources:%=libPCMutils/src/%) \
|
|
|
|
$(fdk_sources:%=libFDK/src/%) \
|
|
|
|
$(sys_sources:%=libSYS/src/%) \
|
|
|
|
$(mpegtpdec_sources:%=libMpegTPDec/src/%) \
|
|
|
|
$(mpegtpenc_sources:%=libMpegTPEnc/src/%) \
|
|
|
|
$(sbrdec_sources:%=libSBRdec/src/%) \
|
|
|
|
$(sbrenc_sources:%=libSBRenc/src/%)
|
|
|
|
|
|
|
|
LOCAL_CFLAGS += -Wno-sequence-point -Wno-extra
|
2016-04-06 17:51:45 +02:00
|
|
|
LOCAL_CFLAGS += "-Wno-\#warnings" -Wno-constant-logical-operand -Wno-self-assign
|
2012-07-11 19:15:24 +02:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
|
|
$(LOCAL_PATH)/libAACdec/include \
|
|
|
|
$(LOCAL_PATH)/libAACenc/include \
|
|
|
|
$(LOCAL_PATH)/libPCMutils/include \
|
|
|
|
$(LOCAL_PATH)/libFDK/include \
|
|
|
|
$(LOCAL_PATH)/libSYS/include \
|
|
|
|
$(LOCAL_PATH)/libMpegTPDec/include \
|
|
|
|
$(LOCAL_PATH)/libMpegTPEnc/include \
|
|
|
|
$(LOCAL_PATH)/libSBRdec/include \
|
|
|
|
$(LOCAL_PATH)/libSBRenc/include
|
|
|
|
|
2014-09-03 21:40:41 +02:00
|
|
|
|
2014-11-28 22:55:24 +01:00
|
|
|
LOCAL_CPPFLAGS += -std=c++98
|
|
|
|
|
2012-07-11 19:15:24 +02:00
|
|
|
LOCAL_MODULE:= libFraunhoferAAC
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|