aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
blob: 9e3a0a0131742a2642aef6e20ff002620c7ef723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES = \
	Tremolo/bitwise.c \
	Tremolo/codebook.c \
	Tremolo/dsp.c \
	Tremolo/floor0.c \
	Tremolo/floor1.c \
	Tremolo/floor_lookup.c \
	Tremolo/framing.c \
	Tremolo/mapping0.c \
	Tremolo/mdct.c \
	Tremolo/misc.c \
	Tremolo/res012.c \
	Tremolo/treminfo.c \
	Tremolo/vorbisfile.c

ifeq ($(TARGET_ARCH),arm)
LOCAL_SRC_FILES += \
	Tremolo/bitwiseARM.s \
	Tremolo/dpen.s \
	Tremolo/floor1ARM.s \
	Tremolo/mdctARM.s
LOCAL_CFLAGS += \
    -D_ARM_ASSEM_
else
LOCAL_CFLAGS += \
    -DONLY_C
endif
LOCAL_CFLAGS+= -O2

LOCAL_C_INCLUDES:= \
	$(LOCAL_PATH)/Tremolo

LOCAL_ARM_MODE := arm

LOCAL_MODULE := libvorbisidec

include $(BUILD_SHARED_LIBRARY)