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 LOCAL_SRC_FILES_arm += \ Tremolo/bitwiseARM.s \ Tremolo/dpen.s \ Tremolo/floor1ARM.s \ Tremolo/mdctARM.s LOCAL_CFLAGS_arm += \ -D_ARM_ASSEM_ # Assembly code in asm_arm.h does not compile with Clang. LOCAL_CLANG_ASFLAGS_arm += \ -no-integrated-as LOCAL_CFLAGS_arm64 += -DONLY_C LOCAL_CFLAGS_mips += -DONLY_C LOCAL_CFLAGS_mips64 += -DONLY_C LOCAL_CFLAGS_x86 += -DONLY_C LOCAL_CFLAGS_x86_64 += -DONLY_C LOCAL_CFLAGS+= -O2 LOCAL_C_INCLUDES:= \ $(LOCAL_PATH)/Tremolo LOCAL_SHARED_LIBRARIES := liblog LOCAL_ARM_MODE := arm LOCAL_MODULE := libvorbisidec include $(BUILD_SHARED_LIBRARY)