blob: b9b5e1c060869e92af6915534302f3527a0b05ab [file] [log] [blame]
Ravi Kumar Alamanda2dfba2b2013-01-17 16:50:22 -08001ifeq ($(strip $(BOARD_USES_ALSA_AUDIO)),true)
2
3LOCAL_PATH := $(call my-dir)
4
5include $(CLEAR_VARS)
6
7LOCAL_ARM_MODE := arm
8
9LOCAL_SRC_FILES := \
10 audio_hw.c \
11 edid.c
12
13LOCAL_SHARED_LIBRARIES := \
14 liblog \
15 libcutils \
16 libtinyalsa \
17 libaudioroute \
18 libdl
19
20LOCAL_C_INCLUDES += \
21 external/tinyalsa/include \
22 $(call include-path-for, audio-route)
23
24LOCAL_MODULE := audio.primary.msm8960
25
26LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
27
28LOCAL_MODULE_TAGS := optional
29
30include $(BUILD_SHARED_LIBRARY)
31
32endif