Fix-build : Do not build bluedroid for 64 bit targets.
This code is not 64 bit safe. In particular, it attempts
to cast pointer types to UINT32 in several places. For now,
build it as a 32 bit library. A 64 bit variant will not be
needed if libbluetooth_jni is also build for 32 bit only.
Change-Id: Ic5f86bd2823083cacf21a852d1c13b4796a7e125
diff --git a/main/Android.mk b/main/Android.mk
index d76e4d2..4d2cdee 100644
--- a/main/Android.mk
+++ b/main/Android.mk
@@ -134,5 +134,6 @@
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_REQUIRED_MODULES := libbt-hci libbt-vendor bt_stack.conf bt_did.conf auto_pair_devlist.conf
+LOCAL_MULTILIB := 32
include $(BUILD_SHARED_LIBRARY)