1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_ARM_MODE := arm 6 7LOCAL_SRC_FILES := \ 8 audio_hw.c 9 10# TODO: remove resampler if possible when AudioFlinger supports downsampling from 48 to 8 11LOCAL_SHARED_LIBRARIES := \ 12 liblog \ 13 libcutils \ 14 libaudioutils \ 15 libtinyalsa \ 16 libtinycompress \ 17 libaudioroute \ 18 libdl 19 20 21LOCAL_C_INCLUDES += \ 22 external/tinyalsa/include \ 23 external/tinycompress/include \ 24 $(call include-path-for, audio-utils) \ 25 $(call include-path-for, audio-route) \ 26 $(call include-path-for, audio-effects) 27 28LOCAL_CFLAGS += -DPREPROCESSING_ENABLED 29LOCAL_CFLAGS += -DHW_AEC_LOOPBACK 30 31LOCAL_MODULE := audio.primary.flounder 32 33LOCAL_MODULE_RELATIVE_PATH := hw 34 35LOCAL_MODULE_TAGS := optional 36 37include $(BUILD_SHARED_LIBRARY) 38