Home | History | Annotate | Download | only in libFLAC
      1 LOCAL_PATH:= $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 LOCAL_SRC_FILES:= \
      5 	bitmath.c \
      6 	bitreader.c \
      7 	bitwriter.c \
      8 	cpu.c \
      9 	crc.c \
     10 	fixed.c \
     11 	float.c \
     12 	format.c \
     13 	lpc.c \
     14 	memory.c \
     15 	md5.c \
     16 	stream_decoder.c \
     17 	stream_encoder.c \
     18 	stream_encoder_framing.c \
     19 	window.c
     20 
     21 LOCAL_C_INCLUDES += \
     22 	$(LOCAL_PATH)/include \
     23 	$(LOCAL_PATH)/.. \
     24 	$(LOCAL_PATH)/../include
     25 
     26 LOCAL_CFLAGS += -DHAVE_CONFIG_H -DFLAC__NO_MD5 -DFLAC__INTEGER_ONLY_LIBRARY
     27 LOCAL_CFLAGS += -D_REENTRANT -DPIC -DU_COMMON_IMPLEMENTATION -fPIC
     28 LOCAL_CFLAGS += -O3 -funroll-loops -finline-functions
     29 LOCAL_CFLAGS += -Werror
     30 
     31 LOCAL_ARM_MODE := arm
     32 
     33 LOCAL_MODULE := libFLAC
     34 
     35 LOCAL_MODULE_TAGS := optional
     36 
     37 LOCAL_SANITIZE := cfi
     38 LOCAL_SANITIZE_DIAG := cfi
     39 
     40 include $(BUILD_STATIC_LIBRARY)
     41