Home | History | Annotate | Download | only in audio_utils
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE := libaudioutils
      6 LOCAL_MODULE_TAGS := optional
      7 
      8 LOCAL_SRC_FILES:= \
      9 	channels.c \
     10 	conversion.cpp \
     11 	fifo.c \
     12 	fixedfft.cpp.arm \
     13 	format.c \
     14 	limiter.c \
     15 	minifloat.c \
     16 	primitives.c \
     17 	resampler.c \
     18 	roundup.c \
     19 	echo_reference.c
     20 
     21 LOCAL_C_INCLUDES += $(call include-path-for, speex)
     22 LOCAL_C_INCLUDES += \
     23 	$(call include-path-for, speex) \
     24 	$(call include-path-for, audio-utils)
     25 
     26 LOCAL_SHARED_LIBRARIES := \
     27 	libcutils \
     28 	liblog \
     29 	libspeexresampler
     30 
     31 LOCAL_CFLAGS := -Werror -Wall
     32 include $(BUILD_SHARED_LIBRARY)
     33 
     34 include $(CLEAR_VARS)
     35 LOCAL_MODULE := libaudioutils
     36 LOCAL_MODULE_TAGS := optional
     37 LOCAL_SRC_FILES := \
     38 	channels.c \
     39 	fifo.c \
     40 	format.c \
     41 	limiter.c \
     42 	minifloat.c \
     43 	primitives.c \
     44 	roundup.c
     45 LOCAL_C_INCLUDES += \
     46 	$(call include-path-for, audio-utils)
     47 LOCAL_CFLAGS := -Werror -Wall
     48 LOCAL_CFLAGS += -D__unused='__attribute__((unused))'
     49 include $(BUILD_HOST_STATIC_LIBRARY)
     50 
     51 include $(CLEAR_VARS)
     52 
     53 LOCAL_MODULE := libsndfile
     54 LOCAL_MODULE_TAGS := optional
     55 
     56 LOCAL_SRC_FILES := \
     57 	tinysndfile.c
     58 
     59 LOCAL_C_INCLUDES += \
     60 	$(call include-path-for, audio-utils)
     61 
     62 LOCAL_CFLAGS := -Werror -Wall
     63 LOCAL_CFLAGS += -UHAVE_STDERR
     64 
     65 include $(BUILD_STATIC_LIBRARY)
     66 
     67 include $(CLEAR_VARS)
     68 
     69 LOCAL_MODULE := libsndfile
     70 LOCAL_MODULE_TAGS := optional
     71 
     72 LOCAL_SRC_FILES := \
     73 	tinysndfile.c
     74 
     75 LOCAL_C_INCLUDES += \
     76 	$(call include-path-for, audio-utils)
     77 
     78 #LOCAL_SHARED_LIBRARIES := libaudioutils
     79 
     80 LOCAL_CFLAGS := -Werror -Wall
     81 
     82 include $(BUILD_HOST_STATIC_LIBRARY)
     83 
     84 include $(CLEAR_VARS)
     85 
     86 LOCAL_MODULE := libfifo
     87 LOCAL_MODULE_TAGS := optional
     88 
     89 LOCAL_SRC_FILES := \
     90 	fifo.c \
     91 	primitives.c \
     92 	roundup.c
     93 
     94 LOCAL_C_INCLUDES += \
     95 	$(call include-path-for, audio-utils)
     96 
     97 LOCAL_CFLAGS := -Werror -Wall
     98 
     99 include $(BUILD_STATIC_LIBRARY)
    100 
    101 include $(call all-makefiles-under,$(LOCAL_PATH))
    102 
    103