Loading Android.bp 0 → 100644 +3 −0 Original line number Diff line number Diff line subdirs = [ "jni", ] jni/Android.bp 0 → 100644 +35 −0 Original line number Diff line number Diff line cc_library_shared { name: "libbluetooth_jni", srcs: [ "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_hidd.cpp", "com_android_bluetooth_hdp.cpp", "com_android_bluetooth_pan.cpp", "com_android_bluetooth_gatt.cpp", "com_android_bluetooth_sdp.cpp", ], include_dirs: [ "libnativehelper/include/nativehelper", ], shared_libs: [ "libandroid_runtime", "libchrome", "libnativehelper", "libcutils", "libutils", "liblog", "libhardware", ], cflags: [ "-Wall", "-Wextra", "-Wno-unused-parameter", ], } jni/Android.mkdeleted 100644 → 0 +0 −37 Original line number Diff line number Diff line 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_hidd.cpp \ com_android_bluetooth_hdp.cpp \ com_android_bluetooth_pan.cpp \ com_android_bluetooth_gatt.cpp \ com_android_bluetooth_sdp.cpp LOCAL_C_INCLUDES += \ $(JNI_H_INCLUDE) \ LOCAL_SHARED_LIBRARIES := \ libandroid_runtime \ libchrome \ libnativehelper \ libcutils \ libutils \ liblog \ libhardware LOCAL_CFLAGS += -Wall -Wextra -Wno-unused-parameter LOCAL_MODULE := libbluetooth_jni LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY) Loading
jni/Android.bp 0 → 100644 +35 −0 Original line number Diff line number Diff line cc_library_shared { name: "libbluetooth_jni", srcs: [ "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_hidd.cpp", "com_android_bluetooth_hdp.cpp", "com_android_bluetooth_pan.cpp", "com_android_bluetooth_gatt.cpp", "com_android_bluetooth_sdp.cpp", ], include_dirs: [ "libnativehelper/include/nativehelper", ], shared_libs: [ "libandroid_runtime", "libchrome", "libnativehelper", "libcutils", "libutils", "liblog", "libhardware", ], cflags: [ "-Wall", "-Wextra", "-Wno-unused-parameter", ], }
jni/Android.mkdeleted 100644 → 0 +0 −37 Original line number Diff line number Diff line 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_hidd.cpp \ com_android_bluetooth_hdp.cpp \ com_android_bluetooth_pan.cpp \ com_android_bluetooth_gatt.cpp \ com_android_bluetooth_sdp.cpp LOCAL_C_INCLUDES += \ $(JNI_H_INCLUDE) \ LOCAL_SHARED_LIBRARIES := \ libandroid_runtime \ libchrome \ libnativehelper \ libcutils \ libutils \ liblog \ libhardware LOCAL_CFLAGS += -Wall -Wextra -Wno-unused-parameter LOCAL_MODULE := libbluetooth_jni LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY)