forked from CyanogenMod/android_hardware_qcom_audio-caf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroid.mk
26 lines (23 loc) · 794 Bytes
/
Android.mk
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
ifneq ($(filter msm8960 msm8660 msm7x30,$(TARGET_BOARD_PLATFORM)),)
ifeq ($(TARGET_QCOM_AUDIO_VARIANT),caf)
AUDIO_HW_ROOT := $(call my-dir)
ifeq ($(TARGET_USES_QCOM_COMPRESSED_AUDIO),true)
common_flags += -DQCOM_COMPRESSED_AUDIO_ENABLED
endif
ifeq ($(strip $(BOARD_USES_ALSA_AUDIO)),true)
include $(AUDIO_HW_ROOT)/alsa_sound/Android.mk
include $(AUDIO_HW_ROOT)/libalsa-intf/Android.mk
include $(AUDIO_HW_ROOT)/audiod/Android.mk
endif
ifeq ($(TARGET_BOARD_PLATFORM),msm8960)
include $(AUDIO_HW_ROOT)/mm-audio/Android.mk
endif
ifeq ($(TARGET_BOARD_PLATFORM),msm7x30)
include $(AUDIO_HW_ROOT)/msm7x30/Android.mk
endif
ifeq ($(TARGET_BOARD_PLATFORM),msm8660)
include $(AUDIO_HW_ROOT)/msm8660/Android.mk
include $(AUDIO_HW_ROOT)/mm-audio/Android.mk
endif
endif
endif