Home | History | Annotate | Download | only in plugins
      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.47\" \
     14 	-DBLUETOOTH_PLUGIN_BUILTIN \
     15 
     16 LOCAL_C_INCLUDES:= \
     17 	$(LOCAL_PATH)/../include \
     18         $(LOCAL_PATH)/../common \
     19         $(LOCAL_PATH)/../gdbus \
     20         $(LOCAL_PATH)/../src \
     21         $(call include-path-for, glib) \
     22         $(call include-path-for, dbus) \
     23 
     24 LOCAL_SHARED_LIBRARIES := \
     25 	libbluetoothd \
     26 	libbluetooth \
     27 	libcutils \
     28 	libdbus
     29 
     30 LOCAL_STATIC_LIBRARIES := \
     31 	libbluez-common-static \
     32 	libglib_static
     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