external/libvorbisidec-1.2.1.patch
author Ozkan Sezer
Tue, 17 Dec 2019 21:56:50 +0300
changeset 1091 8a09f3c0c340
parent 1052 5500d13631b4
permissions -rw-r--r--
add patch note for Mix_MusicDuration addition
sezeroz@956
     1
diff -u /dev/null libvorbisidec-1.2.1/Android.mk
sezeroz@956
     2
--- /dev/null
sezeroz@956
     3
+++ libvorbisidec-1.2.1/Android.mk
slouken@830
     4
@@ -0,0 +1,32 @@
slouken@830
     5
+LOCAL_PATH := $(call my-dir)
slouken@830
     6
+
slouken@830
     7
+include $(CLEAR_VARS)
slouken@830
     8
+
slouken@830
     9
+LOCAL_MODULE := vorbisidec
slouken@830
    10
+
slouken@830
    11
+LOCAL_C_INCLUDES :=
slouken@830
    12
+
sezeroz@956
    13
+LOCAL_CFLAGS := -DHAVE_ALLOCA -DVAR_ARRAYS
slouken@830
    14
+
slouken@830
    15
+ifeq ($(TARGET_ARCH),arm)
slouken@830
    16
+	LOCAL_CFLAGS += -D_ARM_ASSEM_
slouken@830
    17
+endif
slouken@830
    18
+
slouken@830
    19
+LOCAL_SRC_FILES += \
slouken@830
    20
+    mdct.c.arm \
slouken@830
    21
+    block.c \
slouken@830
    22
+    window.c.arm \
slouken@830
    23
+    synthesis.c \
slouken@830
    24
+    info.c \
slouken@830
    25
+    floor1.c.arm \
slouken@830
    26
+    floor0.c.arm \
slouken@830
    27
+    vorbisfile.c.arm \
slouken@830
    28
+    res012.c \
slouken@830
    29
+    mapping0.c \
slouken@830
    30
+    registry.c \
slouken@830
    31
+    codebook.c \
slouken@830
    32
+    sharedbook.c.arm \
slouken@830
    33
+
slouken@830
    34
+LOCAL_SHARED_LIBRARIES := ogg
slouken@830
    35
+
slouken@830
    36
+include $(BUILD_STATIC_LIBRARY)