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 mgmtops.c \ 12 dbusoob.c \ 13 14 LOCAL_CFLAGS:= \ 15 -DVERSION=\"4.93\" \ 16 -DBLUETOOTH_PLUGIN_BUILTIN \ 17 -DSTORAGEDIR=\"/data/misc/bluetoothd\" 18 19 LOCAL_C_INCLUDES:= \ 20 $(LOCAL_PATH)/../btio \ 21 $(LOCAL_PATH)/../lib \ 22 $(LOCAL_PATH)/../gdbus \ 23 $(LOCAL_PATH)/../src \ 24 $(call include-path-for, glib) \ 25 $(call include-path-for, dbus) \ 26 27 LOCAL_SHARED_LIBRARIES := \ 28 libbluetoothd \ 29 libbluetooth \ 30 libcutils \ 31 libdbus \ 32 libglib \ 33 34 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/bluez-plugin 35 LOCAL_UNSTRIPPED_PATH := $(TARGET_OUT_SHARED_LIBRARIES_UNSTRIPPED)/bluez-plugin 36 LOCAL_MODULE:=libbuiltinplugin 37 38 include $(BUILD_STATIC_LIBRARY) 39