45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
com_android_bluetooth_btservice_AdapterService.cpp \
|
|
com_android_bluetooth_hfp.cpp \
|
|
com_android_bluetooth_hfpclient.cpp \
|
|
com_android_bluetooth_a2dp.cpp \
|
|
com_android_bluetooth_a2dp_sink.cpp \
|
|
com_android_bluetooth_avrcp.cpp \
|
|
com_android_bluetooth_avrcp_controller.cpp \
|
|
com_android_bluetooth_hid.cpp \
|
|
com_android_bluetooth_hdp.cpp \
|
|
com_android_bluetooth_pan.cpp \
|
|
com_android_bluetooth_gatt.cpp \
|
|
com_android_bluetooth_sdp.cpp \
|
|
com_android_bluetooth_btservice_vendor.cpp
|
|
|
|
ifneq ($(TARGET_SUPPORTS_WEARABLES),true)
|
|
LOCAL_C_INCLUDES += \
|
|
$(JNI_H_INCLUDE) \
|
|
vendor/qcom/opensource/bluetooth/hal/include
|
|
else
|
|
LOCAL_C_INCLUDES += \
|
|
$(JNI_H_INCLUDE) \
|
|
device/qcom/msm8909w/opensource/bluetooth/hal/include
|
|
endif
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libandroid_runtime \
|
|
libnativehelper \
|
|
libcutils \
|
|
libutils \
|
|
liblog \
|
|
libhardware
|
|
|
|
LOCAL_MULTILIB := 32
|
|
|
|
LOCAL_CFLAGS += -Wall -Wextra -Wno-unused-parameter
|
|
|
|
LOCAL_MODULE := libbluetooth_jni
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|