1 LOCAL_PATH:= $(call my-dir) 2 3 # HID plugin 4 5 include $(CLEAR_VARS) 6 7 LOCAL_SRC_FILES:= \ 8 device.c \ 9 fakehid.c \ 10 main.c \ 11 manager.c \ 12 server.c 13 14 LOCAL_CFLAGS:= \ 15 -DVERSION=\"4.93\" \ 16 -DSTORAGEDIR=\"/data/misc/bluetoothd\" \ 17 -DCONFIGDIR=\"/etc/bluetooth\" 18 19 LOCAL_C_INCLUDES:= \ 20 $(LOCAL_PATH)/../btio \ 21 $(LOCAL_PATH)/../lib \ 22 $(LOCAL_PATH)/../src \ 23 $(LOCAL_PATH)/../gdbus \ 24 $(call include-path-for, glib) \ 25 $(call include-path-for, dbus) 26 27 LOCAL_SHARED_LIBRARIES := \ 28 libbluetoothd \ 29 libbluetooth \ 30 libbtio \ 31 libcutils \ 32 libdbus \ 33 libexpat \ 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 := input 39 40 include $(BUILD_SHARED_LIBRARY) 41