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 fifo.c \ 11 fixedfft.cpp.arm \ 12 format.c \ 13 minifloat.c \ 14 primitives.c \ 15 resampler.c \ 16 roundup.c \ 17 echo_reference.c 18 19 LOCAL_C_INCLUDES += $(call include-path-for, speex) 20 LOCAL_C_INCLUDES += \ 21 $(call include-path-for, speex) \ 22 $(call include-path-for, audio-utils) 23 24 LOCAL_SHARED_LIBRARIES := \ 25 libcutils \ 26 liblog \ 27 libspeexresampler 28 29 include $(BUILD_SHARED_LIBRARY) 30 31 include $(CLEAR_VARS) 32 LOCAL_MODULE := libaudioutils 33 LOCAL_MODULE_TAGS := optional 34 LOCAL_SRC_FILES := \ 35 channels.c \ 36 fifo.c \ 37 format.c \ 38 minifloat.c \ 39 primitives.c \ 40 roundup.c 41 LOCAL_C_INCLUDES += \ 42 $(call include-path-for, audio-utils) 43 LOCAL_CFLAGS := -D__unused= 44 include $(BUILD_HOST_STATIC_LIBRARY) 45 46 include $(CLEAR_VARS) 47 48 LOCAL_MODULE := libsndfile 49 LOCAL_MODULE_TAGS := optional 50 51 LOCAL_SRC_FILES := \ 52 tinysndfile.c 53 54 LOCAL_C_INCLUDES += \ 55 $(call include-path-for, audio-utils) 56 57 LOCAL_CFLAGS := -UHAVE_STDERR 58 59 include $(BUILD_STATIC_LIBRARY) 60 61 include $(CLEAR_VARS) 62 63 LOCAL_MODULE := libsndfile 64 LOCAL_MODULE_TAGS := optional 65 66 LOCAL_SRC_FILES := \ 67 tinysndfile.c 68 69 LOCAL_C_INCLUDES += \ 70 $(call include-path-for, audio-utils) 71 72 #LOCAL_SHARED_LIBRARIES := libaudioutils 73 74 include $(BUILD_HOST_STATIC_LIBRARY) 75 76 include $(CLEAR_VARS) 77 78 LOCAL_MODULE := libfifo 79 LOCAL_MODULE_TAGS := optional 80 81 LOCAL_SRC_FILES := \ 82 fifo.c \ 83 primitives.c \ 84 roundup.c 85 86 LOCAL_C_INCLUDES += \ 87 $(call include-path-for, audio-utils) 88 89 include $(BUILD_STATIC_LIBRARY) 90 91 include $(call all-makefiles-under,$(LOCAL_PATH)) 92 93