Home | History | Annotate | Download | only in aac
      1 LOCAL_PATH:= $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 aacdec_sources := $(wildcard $(LOCAL_PATH)/libAACdec/src/*.cpp)
      5 aacdec_sources := $(aacdec_sources:$(LOCAL_PATH)/libAACdec/src/%=%)
      6 
      7 aacenc_sources := $(wildcard $(LOCAL_PATH)/libAACenc/src/*.cpp)
      8 aacenc_sources := $(aacenc_sources:$(LOCAL_PATH)/libAACenc/src/%=%)
      9 
     10 pcmutils_sources := $(wildcard $(LOCAL_PATH)/libPCMutils/src/*.cpp)
     11 pcmutils_sources := $(pcmutils_sources:$(LOCAL_PATH)/libPCMutils/src/%=%)
     12 
     13 fdk_sources := $(wildcard $(LOCAL_PATH)/libFDK/src/*.cpp)
     14 fdk_sources := $(fdk_sources:$(LOCAL_PATH)/libFDK/src/%=%)
     15 
     16 sys_sources := $(wildcard $(LOCAL_PATH)/libSYS/src/*.cpp)
     17 sys_sources := $(sys_sources:$(LOCAL_PATH)/libSYS/src/%=%)
     18 
     19 mpegtpdec_sources := $(wildcard $(LOCAL_PATH)/libMpegTPDec/src/*.cpp)
     20 mpegtpdec_sources := $(mpegtpdec_sources:$(LOCAL_PATH)/libMpegTPDec/src/%=%)
     21 
     22 mpegtpenc_sources := $(wildcard $(LOCAL_PATH)/libMpegTPEnc/src/*.cpp)
     23 mpegtpenc_sources := $(mpegtpenc_sources:$(LOCAL_PATH)/libMpegTPEnc/src/%=%)
     24 
     25 sbrdec_sources := $(wildcard $(LOCAL_PATH)/libSBRdec/src/*.cpp)
     26 sbrdec_sources := $(sbrdec_sources:$(LOCAL_PATH)/libSBRdec/src/%=%)
     27 
     28 sbrenc_sources := $(wildcard $(LOCAL_PATH)/libSBRenc/src/*.cpp)
     29 sbrenc_sources := $(sbrenc_sources:$(LOCAL_PATH)/libSBRenc/src/%=%)
     30 
     31 LOCAL_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 
     42 LOCAL_CFLAGS := -DANDROID
     43 LOCAL_CFLAGS += -Wno-sequence-point -Wno-extra
     44 
     45 LOCAL_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 
     56 LOCAL_MODULE:= libFraunhoferAAC
     57 
     58 include $(BUILD_STATIC_LIBRARY)
     59