aboutsummaryrefslogtreecommitdiffstats
path: root/libFDK/src/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libFDK/src/Android.mk')
-rw-r--r--libFDK/src/Android.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/libFDK/src/Android.mk b/libFDK/src/Android.mk
new file mode 100644
index 0000000..64553d8
--- /dev/null
+++ b/libFDK/src/Android.mk
@@ -0,0 +1,30 @@
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := \
+ autocorr2nd.cpp \
+ dct.cpp \
+ FDK_bitbuffer.cpp \
+ FDK_core.cpp \
+ FDK_crc.cpp \
+ FDK_tools_rom.cpp \
+ FDK_trigFcts.cpp \
+ fft.cpp \
+ fft_rad2.cpp \
+ fixpoint_math.cpp \
+ mdct.cpp \
+ qmf.cpp \
+ scale.cpp
+
+LOCAL_CFLAGS := -DANDROID
+
+LOCAL_CFLAGS += -Wno-sequence-point -Wno-extra
+
+LOCAL_C_INCLUDES += \
+ $(LOCAL_PATH) \
+ $(LOCAL_PATH)/../include \
+ $(LOCAL_PATH)/../../libSYS/include \
+
+LOCAL_MODULE:= libFDK
+
+include $(BUILD_STATIC_LIBRARY)