OSDN Git Service

build: Enable building android HAL as libhal-internal.la
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 17 Oct 2013 08:33:40 +0000 (11:33 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 17 Oct 2013 14:32:48 +0000 (17:32 +0300)
Makefile.android

index 1b47fd2..e26a30a 100644 (file)
@@ -10,6 +10,27 @@ android_bluetoothd_SOURCES = android/main.c \
                                src/shared/mgmt.h src/shared/mgmt.c
 
 android_bluetoothd_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
+
+noinst_LTLIBRARIES += android/libhal-internal.la
+
+android_libhal_internal_la_SOURCES = android/hal.h android/hal_bluetooth.c \
+                                       android/hal_bt_sock.c \
+                                       android/hardware/bluetooth.h \
+                                       android/hardware/bt_av.h \
+                                       android/hardware/bt_gatt.h \
+                                       android/hardware/bt_gatt_client.h \
+                                       android/hardware/bt_gatt_server.h \
+                                       android/hardware/bt_gatt_types.h \
+                                       android/hardware/bt_hf.h \
+                                       android/hardware/bt_hh.h \
+                                       android/hardware/bt_hl.h \
+                                       android/hardware/bt_pan.h \
+                                       android/hardware/bt_rc.h \
+                                       android/hardware/bt_sock.h \
+                                       android/hardware/hardware.h \
+                                       android/cutils/log.h \
+                                       android/cutils/properties.h
+android_libhal_internal_la_CPPFLAGS = -I$(srcdir)/android
 endif
 
 EXTRA_DIST += android/Android.mk android/log.c