1 LOCAL_PATH:= $(call my-dir) 2 3 # Bluetooth SBC decoder static library for target 4 # ======================================================== 5 include $(CLEAR_VARS) 6 7 # sbc decoder 8 LOCAL_SRC_FILES+= \ 9 ./srce/alloc.c \ 10 ./srce/bitalloc.c \ 11 ./srce/bitalloc-sbc.c \ 12 ./srce/bitstream-decode.c \ 13 ./srce/decoder-oina.c \ 14 ./srce/decoder-private.c \ 15 ./srce/decoder-sbc.c \ 16 ./srce/dequant.c \ 17 ./srce/framing.c \ 18 ./srce/framing-sbc.c \ 19 ./srce/oi_codec_version.c \ 20 ./srce/synthesis-sbc.c \ 21 ./srce/synthesis-dct8.c \ 22 ./srce/synthesis-8-generated.c \ 23 24 LOCAL_C_INCLUDES += $(LOCAL_PATH)/include 25 LOCAL_C_INCLUDES += $(LOCAL_PATH)/srce 26 27 LOCAL_MODULE:= libbt-qcom_sbc_decoder 28 LOCAL_MODULE_TAGS := optional 29 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 30 31 LOCAL_CFLAGS += $(bluetooth_CFLAGS) 32 LOCAL_CONLYFLAGS += $(bluetooth_CONLYFLAGS) 33 LOCAL_CPPFLAGS += $(bluetooth_CPPFLAGS) 34 35 include $(BUILD_STATIC_LIBRARY) 36