1 LOCAL_PATH:= $(call my-dir) 2 3 # 4 # libplugin 5 # 6 7 include $(CLEAR_VARS) 8 9 LOCAL_SRC_FILES:= \ 10 hciops.c \ 11 12 LOCAL_CFLAGS:= \ 13 -DVERSION=\"4.69\" \ 14 -DBLUETOOTH_PLUGIN_BUILTIN \ 15 16 LOCAL_C_INCLUDES:= \ 17 $(LOCAL_PATH)/../lib \ 18 $(LOCAL_PATH)/../gdbus \ 19 $(LOCAL_PATH)/../src \ 20 $(call include-path-for, glib) \ 21 $(call include-path-for, dbus) \ 22 23 LOCAL_SHARED_LIBRARIES := \ 24 libbluetoothd \ 25 libbluetooth \ 26 libcutils \ 27 libdbus 28 29 LOCAL_STATIC_LIBRARIES := \ 30 libglib_static 31 32 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/bluez-plugin 33 LOCAL_UNSTRIPPED_PATH := $(TARGET_OUT_SHARED_LIBRARIES_UNSTRIPPED)/bluez-plugin 34 LOCAL_MODULE:=libbuiltinplugin 35 36 include $(BUILD_STATIC_LIBRARY) 37