summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@linux.org.tw>2010-06-10 10:41:24 +0800
committerChih-Wei Huang <cwhuang@linux.org.tw>2010-06-10 10:41:24 +0800
commitea8204987174398042729605860841637ad06888 (patch)
treec371b7f79d20059359445296dfece8368c949153
parent609ff85d701103db878b7077fe020b2999e26bf4 (diff)
downloadalsa_sound-ea8204987174398042729605860841637ad06888.tar.gz
Enable Bluetooth support
If BOARD_HAVE_BLUETOOTH is true, WITH_A2DP must be defined. Change-Id: I73d035f6f576711438edfa560fd9ed831df0946d
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 5eee4a1..f9b1781 100644
--- a/Android.mk
+++ b/Android.mk
@@ -46,6 +46,9 @@ endif
include $(CLEAR_VARS)
LOCAL_CFLAGS := -D_POSIX_SOURCE
+ifeq ($(BOARD_HAVE_BLUETOOTH),true)
+ LOCAL_CFLAGS += -DWITH_A2DP
+endif
LOCAL_SRC_FILES := AudioPolicyManagerALSA.cpp