blob: aede7e183e99f0e4d9dcfc31ce05feb80064e448 [file] [log] [blame]
Daniel Hillenbrandd81f36f2013-04-06 18:56:57 +00001ifneq ($(filter msm8960 msm8660 msm7x30,$(TARGET_BOARD_PLATFORM)),)
Daniel Hillenbrandd81f36f2013-04-06 18:56:57 +00002
Harmandeep Singh135a23d2012-12-08 19:00:44 -08003AUDIO_HW_ROOT := $(call my-dir)
Iliyan Malchev3bf17002012-06-29 16:55:10 -07004
Steve Kondik7676f7a2013-08-08 19:43:43 -07005ifeq ($(TARGET_QCOM_AUDIO_VARIANT),caf)
Daniel Hillenbrandd81f36f2013-04-06 18:56:57 +00006ifeq ($(TARGET_USES_QCOM_COMPRESSED_AUDIO),true)
7 common_flags += -DQCOM_COMPRESSED_AUDIO_ENABLED
8endif
9
Harmandeep Singh135a23d2012-12-08 19:00:44 -080010ifeq ($(strip $(BOARD_USES_ALSA_AUDIO)),true)
11 include $(AUDIO_HW_ROOT)/alsa_sound/Android.mk
Harmandeep Singh135a23d2012-12-08 19:00:44 -080012 include $(AUDIO_HW_ROOT)/libalsa-intf/Android.mk
Daniel Hillenbrandd81f36f2013-04-06 18:56:57 +000013 include $(AUDIO_HW_ROOT)/audiod/Android.mk
14endif
Daniel Hillenbrandd81f36f2013-04-06 18:56:57 +000015ifeq ($(TARGET_BOARD_PLATFORM),msm7x30)
16 include $(AUDIO_HW_ROOT)/msm7x30/Android.mk
17endif
18ifeq ($(TARGET_BOARD_PLATFORM),msm8660)
19 include $(AUDIO_HW_ROOT)/msm8660/Android.mk
Steve Kondik7676f7a2013-08-08 19:43:43 -070020endif
21endif
22
23ifeq ($(TARGET_BOARD_PLATFORM),msm8960)
Daniel Hillenbrandd81f36f2013-04-06 18:56:57 +000024 include $(AUDIO_HW_ROOT)/mm-audio/Android.mk
25endif
Steve Kondik7676f7a2013-08-08 19:43:43 -070026
27ifeq ($(TARGET_BOARD_PLATFORM),msm8660)
28 include $(AUDIO_HW_ROOT)/mm-audio/Android.mk
Daniel Hillenbrandd81f36f2013-04-06 18:56:57 +000029endif
Steve Kondik7676f7a2013-08-08 19:43:43 -070030
Iliyan Malchev3bf17002012-06-29 16:55:10 -070031endif