1 LOCAL_PATH:= $(call my-dir) 2 3 # health plugin 4 5 include $(CLEAR_VARS) 6 7 LOCAL_SRC_FILES:= \ 8 hdp.c \ 9 hdp_main.c \ 10 hdp_manager.c \ 11 hdp_util.c \ 12 mcap.c \ 13 mcap_sync.c \ 14 15 LOCAL_CFLAGS:= \ 16 -DVERSION=\"4.93\" \ 17 -DSTORAGEDIR=\"/data/misc/bluetoothd\" \ 18 -DCONFIGDIR=\"/etc/bluetooth\" \ 19 20 LOCAL_C_INCLUDES:= \ 21 $(LOCAL_PATH)/../btio \ 22 $(LOCAL_PATH)/../lib \ 23 $(LOCAL_PATH)/../src \ 24 $(LOCAL_PATH)/../gdbus \ 25 $(call include-path-for, glib) \ 26 $(call include-path-for, dbus) 27 28 LOCAL_SHARED_LIBRARIES := \ 29 libbluetoothd \ 30 libbluetooth \ 31 libbtio \ 32 libdbus \ 33 libcutils \ 34 libglib \ 35 36 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/bluez-plugin 37 LOCAL_UNSTRIPPED_PATH := $(TARGET_OUT_SHARED_LIBRARIES_UNSTRIPPED)/bluez-plugin 38 LOCAL_MODULE := bluetooth-health 39 LOCAL_MODULE_TAGS := optional 40 41 include $(BUILD_SHARED_LIBRARY) 42