1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_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 19LOCAL_SRC_FILES_arm += \ 20 Tremolo/bitwiseARM.s \ 21 Tremolo/dpen.s \ 22 Tremolo/floor1ARM.s \ 23 Tremolo/mdctARM.s 24LOCAL_CFLAGS_arm += \ 25 -D_ARM_ASSEM_ 26# Assembly code in asm_arm.h does not compile with Clang. 27LOCAL_CLANG_ASFLAGS_arm += \ 28 -no-integrated-as 29LOCAL_CFLAGS_arm64 += -DONLY_C 30LOCAL_CFLAGS_mips += -DONLY_C 31LOCAL_CFLAGS_mips64 += -DONLY_C 32LOCAL_CFLAGS_x86 += -DONLY_C 33LOCAL_CFLAGS_x86_64 += -DONLY_C 34 35LOCAL_CFLAGS+= -O2 36 37LOCAL_C_INCLUDES:= \ 38 $(LOCAL_PATH)/Tremolo 39 40LOCAL_SHARED_LIBRARIES := liblog 41 42LOCAL_ARM_MODE := arm 43 44LOCAL_MODULE := libvorbisidec 45 46include $(BUILD_SHARED_LIBRARY) 47