summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDave Burke <daveburke@google.com>2012-06-11 20:23:01 -0700
committerDave Burke <daveburke@google.com>2012-06-12 10:34:26 -0700
commit2bda038c163298531d47394bc2c09e1409c5d0db (patch)
tree57f3d390ebb0782cc0de0fb984c8ea7e45b4f386 /Android.mk
parent18a4af02f9a877b757be77babd190a2e0b44fbd2 (diff)
downloadfdk-aac-2bda038c163298531d47394bc2c09e1409c5d0db.tar.gz
fdk-aac-2bda038c163298531d47394bc2c09e1409c5d0db.tar.bz2
fdk-aac-2bda038c163298531d47394bc2c09e1409c5d0db.zip
Add NOTICE file. Rework make file so it appears in settings.
Change-Id: I9d9ab17121e2db58f8a4ba4b40e14cab629b1a7e
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk59
1 files changed, 58 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 5053e7d..f804089 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1 +1,58 @@
-include $(call all-subdir-makefiles)
+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)