From 2228e360595641dd906bf1773307f43d304f5b2e Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 11 Jul 2012 10:15:24 -0700 Subject: Snapshot 2bda038c163298531d47394bc2c09e1409c5d0db Change-Id: If584e579464f28b97d50e51fc76ba654a5536c54 --- Android.mk | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Android.mk (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..f804089 --- /dev/null +++ b/Android.mk @@ -0,0 +1,58 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +aacdec_sources := $(wildcard $(LOCAL_PATH)/libAACdec/src/*.cpp) +aacdec_sources := $(aacdec_sources:$(LOCAL_PATH)/libAACdec/src/%=%) + +aacenc_sources := $(wildcard $(LOCAL_PATH)/libAACenc/src/*.cpp) +aacenc_sources := $(aacenc_sources:$(LOCAL_PATH)/libAACenc/src/%=%) + +pcmutils_sources := $(wildcard $(LOCAL_PATH)/libPCMutils/src/*.cpp) +pcmutils_sources := $(pcmutils_sources:$(LOCAL_PATH)/libPCMutils/src/%=%) + +fdk_sources := $(wildcard $(LOCAL_PATH)/libFDK/src/*.cpp) +fdk_sources := $(fdk_sources:$(LOCAL_PATH)/libFDK/src/%=%) + +sys_sources := $(wildcard $(LOCAL_PATH)/libSYS/src/*.cpp) +sys_sources := $(sys_sources:$(LOCAL_PATH)/libSYS/src/%=%) + +mpegtpdec_sources := $(wildcard $(LOCAL_PATH)/libMpegTPDec/src/*.cpp) +mpegtpdec_sources := $(mpegtpdec_sources:$(LOCAL_PATH)/libMpegTPDec/src/%=%) + +mpegtpenc_sources := $(wildcard $(LOCAL_PATH)/libMpegTPEnc/src/*.cpp) +mpegtpenc_sources := $(mpegtpenc_sources:$(LOCAL_PATH)/libMpegTPEnc/src/%=%) + +sbrdec_sources := $(wildcard $(LOCAL_PATH)/libSBRdec/src/*.cpp) +sbrdec_sources := $(sbrdec_sources:$(LOCAL_PATH)/libSBRdec/src/%=%) + +sbrenc_sources := $(wildcard $(LOCAL_PATH)/libSBRenc/src/*.cpp) +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 := -DANDROID +LOCAL_CFLAGS += -Wno-sequence-point -Wno-extra + +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 + +LOCAL_MODULE:= libFraunhoferAAC + +include $(BUILD_STATIC_LIBRARY) -- cgit v1.2.3