1LOCAL_PATH:= $(call my-dir) 2 3# 4# libbluetoothd 5# 6 7include $(CLEAR_VARS) 8 9LOCAL_SRC_FILES:= \ 10 adapter.c \ 11 agent.c \ 12 dbus-common.c \ 13 dbus-hci.c \ 14 device.c \ 15 error.c \ 16 main.c \ 17 manager.c \ 18 plugin.c \ 19 rfkill.c \ 20 sdpd-request.c \ 21 sdpd-service.c \ 22 sdpd-server.c \ 23 sdpd-database.c \ 24 security.c \ 25 storage.c 26 27LOCAL_CFLAGS:= \ 28 -DVERSION=\"4.47\" \ 29 -DSTORAGEDIR=\"/data/misc/bluetoothd\" \ 30 -DCONFIGDIR=\"/etc/bluez\" \ 31 -DSERVICEDIR=\"/system/bin\" \ 32 -DPLUGINDIR=\"/system/lib/bluez-plugin\" \ 33 -DANDROID_SET_AID_AND_CAP \ 34 -DANDROID_EXPAND_NAME 35 36LOCAL_C_INCLUDES:= \ 37 $(LOCAL_PATH)/../include \ 38 $(LOCAL_PATH)/../common \ 39 $(LOCAL_PATH)/../gdbus \ 40 $(LOCAL_PATH)/../plugins \ 41 $(call include-path-for, glib) \ 42 $(call include-path-for, glib)/glib \ 43 $(call include-path-for, dbus) 44 45LOCAL_SHARED_LIBRARIES := \ 46 libdl \ 47 libbluetooth \ 48 libdbus \ 49 libcutils 50 51LOCAL_STATIC_LIBRARIES := \ 52 libglib_static \ 53 libbluez-common-static \ 54 libbuiltinplugin \ 55 libgdbus_static 56 57LOCAL_MODULE:=libbluetoothd 58 59include $(BUILD_SHARED_LIBRARY) 60 61# 62# bluetoothd 63# 64 65include $(CLEAR_VARS) 66 67LOCAL_SHARED_LIBRARIES := \ 68 libbluetoothd 69 70LOCAL_MODULE:=bluetoothd 71 72include $(BUILD_EXECUTABLE) 73