Home | History | Annotate | Download | only in hal
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_ARM_MODE := arm
      6 
      7 LOCAL_SRC_FILES := \
      8 	audio_hw.c
      9 
     10 # TODO: remove resampler if possible when AudioFlinger supports downsampling from 48 to 8
     11 LOCAL_SHARED_LIBRARIES := \
     12 	liblog \
     13 	libcutils \
     14 	libaudioutils \
     15 	libtinyalsa \
     16 	libtinycompress \
     17 	libaudioroute \
     18 	libdl
     19 
     20 
     21 LOCAL_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 
     28 LOCAL_CFLAGS += -DPREPROCESSING_ENABLED
     29 LOCAL_CFLAGS += -DHW_AEC_LOOPBACK
     30 
     31 LOCAL_MODULE := audio.primary.flounder
     32 
     33 LOCAL_MODULE_RELATIVE_PATH := hw
     34 
     35 LOCAL_MODULE_TAGS := optional
     36 
     37 include $(BUILD_SHARED_LIBRARY)
     38