blob: 5adae79cc8e3d55cb4d2def8cd632e87a3a6561b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
ifeq ($(BOARD_USES_ALSA_AUDIO),true)
ifeq ($(TARGET_QCOM_AUDIO_VARIANT),caf)
LOCAL_CFLAGS += -DSAMPLE_RATE_48K
endif
endif
LOCAL_SRC_FILES:= \
audio_a2dp_hw.c
LOCAL_CFLAGS += $(bdroid_CFLAGS)
LOCAL_C_INCLUDES+= . \
$(bdroid_C_INCLUDES)
LOCAL_SHARED_LIBRARIES := \
libcutils
LOCAL_SHARED_LIBRARIES += \
libpower
LOCAL_MODULE := audio.a2dp.default
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
|