Diff between 9cbea426e1b616e107886994f471d1357ffb6e1e and 136136c333676d7260947098b75e90f3767959de

Changed Files

File Additions Deletions Status
android/Android.mk +12 -0 modified

Full Patch

diff --git a/android/Android.mk b/android/Android.mk
index eef809a..7132279 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -42,6 +42,18 @@ LOCAL_CFLAGS := -DVERSION=\"$(BLUEZ_VERSION)\"
 LOCAL_SHARED_LIBRARIES := \
 	libglib \
 
+lib_headers := \
+	bluetooth.h \
+	hci.h \
+	hci_lib.h \
+	l2cap.h \
+	sdp_lib.h \
+	sdp.h \
+
+$(shell mkdir -p $(LOCAL_PATH)/../lib/bluetooth)
+
+$(foreach file,$(lib_headers), $(shell ln -sf ../$(file) $(LOCAL_PATH)/../lib/bluetooth/$(file)))
+
 LOCAL_MODULE := bluetoothd
 
 include $(BUILD_EXECUTABLE)