1 LOCAL_PATH := $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_SRC_FILES = \ 5 Tremolo/bitwise.c \ 6 Tremolo/codebook.c \ 7 Tremolo/dsp.c \ 8 Tremolo/floor0.c \ 9 Tremolo/floor1.c \ 10 Tremolo/floor_lookup.c \ 11 Tremolo/framing.c \ 12 Tremolo/mapping0.c \ 13 Tremolo/mdct.c \ 14 Tremolo/misc.c \ 15 Tremolo/res012.c \ 16 Tremolo/treminfo.c \ 17 Tremolo/vorbisfile.c 18 19 LOCAL_SRC_FILES_arm += \ 20 Tremolo/bitwiseARM.s \ 21 Tremolo/dpen.s \ 22 Tremolo/floor1ARM.s \ 23 Tremolo/mdctARM.s 24 LOCAL_CFLAGS_arm += \ 25 -D_ARM_ASSEM_ 26 # Assembly code in asm_arm.h does not compile with Clang. 27 LOCAL_CLANG_ASFLAGS_arm += \ 28 -no-integrated-as 29 LOCAL_CFLAGS_arm64 += -DONLY_C 30 LOCAL_CFLAGS_mips += -DONLY_C 31 LOCAL_CFLAGS_mips64 += -DONLY_C 32 LOCAL_CFLAGS_x86 += -DONLY_C 33 LOCAL_CFLAGS_x86_64 += -DONLY_C 34 35 LOCAL_CFLAGS+= -O2 36 37 LOCAL_C_INCLUDES:= \ 38 $(LOCAL_PATH)/Tremolo 39 40 LOCAL_SHARED_LIBRARIES := liblog 41 42 LOCAL_ARM_MODE := arm 43 44 LOCAL_MODULE := libvorbisidec 45 46 include $(BUILD_SHARED_LIBRARY) 47