ifeq ($(strip $(BOARD_USES_ALSA_AUDIO)),true) | |
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_ARM_MODE := arm | |
LOCAL_SRC_FILES := \ | |
audio_hw.c \ | |
edid.c | |
LOCAL_SHARED_LIBRARIES := \ | |
liblog \ | |
libcutils \ | |
libtinyalsa \ | |
libaudioroute \ | |
libdl | |
LOCAL_C_INCLUDES += \ | |
external/tinyalsa/include \ | |
$(call include-path-for, audio-route) | |
LOCAL_MODULE := audio.primary.msm8960 | |
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw | |
LOCAL_MODULE_TAGS := optional | |
include $(BUILD_SHARED_LIBRARY) | |
endif |