summaryrefslogtreecommitdiffstats
path: root/libaudio/Android.mk
diff options
context:
space:
mode:
authorBrian Swetland <swetland@google.com>2010-10-10 04:50:13 -0700
committerBrian Swetland <swetland@google.com>2010-10-10 04:50:13 -0700
commit3732d0feeebed2031fabe7ff51533eacafcce626 (patch)
tree3c21bab521516c8300935af61d9ce990c4e69ec9 /libaudio/Android.mk
parent1dce448438714fcbd354e60be6660a748be3da77 (diff)
downloaddevice_samsung_crespo-3732d0feeebed2031fabe7ff51533eacafcce626.zip
device_samsung_crespo-3732d0feeebed2031fabe7ff51533eacafcce626.tar.gz
device_samsung_crespo-3732d0feeebed2031fabe7ff51533eacafcce626.tar.bz2
only build the alsalib libaudio if the board uses alsalib
Change-Id: I6819ea28e0d16f163a00f8d25ba77506b144a886
Diffstat (limited to 'libaudio/Android.mk')
-rwxr-xr-xlibaudio/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libaudio/Android.mk b/libaudio/Android.mk
index 5d44ca7..04f24e0 100755
--- a/libaudio/Android.mk
+++ b/libaudio/Android.mk
@@ -4,6 +4,7 @@
#
ifeq ($(TARGET_DEVICE),crespo)
+ifeq ($(BOARD_USES_ALSA_AUDIO),true)
ifeq ($(filter-out s5pc110 s5pc100 s5p6440,$(TARGET_BOARD_PLATFORM)),)
ifeq ($(BOARD_USES_GENERIC_AUDIO),false)
@@ -64,3 +65,4 @@ include $(BUILD_SHARED_LIBRARY)
endif
endif
endif
+endif