1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_ARM_MODE := arm 6 7LOCAL_SRC_FILES := \ 8 audio_hw.c \ 9 dsp/biquad.c \ 10 dsp/crossover.c \ 11 dsp/crossover2.c \ 12 dsp/drc.c \ 13 dsp/drc_kernel.c \ 14 dsp/drc_math.c \ 15 dsp/dsp_util.c \ 16 dsp/eq2.c \ 17 dsp/eq.c \ 18 cras_dsp.c \ 19 cras_dsp_ini.c \ 20 cras_dsp_mod_builtin.c \ 21 cras_dsp_pipeline.c \ 22 cras_expr.c \ 23 iniparser.c \ 24 dictionary.c 25 26LOCAL_SHARED_LIBRARIES := \ 27 liblog \ 28 libcutils \ 29 libaudioutils \ 30 libtinyalsa \ 31 libtinycompress \ 32 libaudioroute \ 33 libdl 34 35 36LOCAL_C_INCLUDES += \ 37 device/google/dragon/audio/hal/dsp \ 38 external/tinyalsa/include \ 39 external/tinycompress/include \ 40 $(call include-path-for, audio-utils) \ 41 $(call include-path-for, audio-route) \ 42 $(call include-path-for, audio-effects) 43 44LOCAL_MODULE := audio.primary.dragon 45 46LOCAL_MODULE_RELATIVE_PATH := hw 47 48LOCAL_MODULE_TAGS := optional 49 50# b/26236653, dsp_util.c inline assembly code does not compile with llvm yet. 51LOCAL_CLANG_CFLAGS += -no-integrated-as 52 53include $(BUILD_SHARED_LIBRARY) 54