summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorRavi Kumar Alamanda <ralama@codeaurora.org>2013-01-17 16:50:22 -0800
committerIliyan Malchev <malchev@google.com>2013-02-08 18:47:20 -0800
commit2dfba2b9264a43951889e591260162a67894c0d0 (patch)
tree95cc877eb5e7f8398fa7b66fbef03c63d46d0e2e /Android.mk
parent396ebb32c3a800e5c9a972af3fcec55e351996e3 (diff)
downloadandroid_hardware_qcom_audio-2dfba2b9264a43951889e591260162a67894c0d0.tar.gz
android_hardware_qcom_audio-2dfba2b9264a43951889e591260162a67894c0d0.tar.bz2
android_hardware_qcom_audio-2dfba2b9264a43951889e591260162a67894c0d0.zip
add new audio HAL (disabled)
-- build when BOARD_USES_LEGACY_ALSA_AUDIO is not defined -- under hal/ -- uses audio_route library Change-Id: Ibf2706ba55e5a2dbd69b5f4cfac8a5cc68220b86 Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 356b7de6..25e34d19 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,6 +1,11 @@
ifneq ($(filter msm8960,$(TARGET_BOARD_PLATFORM)),)
-AUDIO_ROOT := $(call my-dir)
-include $(call all-subdir-makefiles)
+LOCAL_PATH := $(call my-dir)
+
+ifeq ($(BOARD_USES_LEGACY_ALSA_AUDIO),true)
+include $(LOCAL_PATH)/legacy/Android.mk
+else
+include $(LOCAL_PATH)/hal/Android.mk
+endif
endif