mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
bluetooth: include what you use
Helper libraries also now on vendor partition. Test: links Test: bluetooth works on internal Marlin Bug: 33241851 Change-Id: Ie99faf9146ce2ce3df83a2b46acfaa36a54c16c2
This commit is contained in:
@@ -41,21 +41,20 @@ cc_library_shared {
|
||||
|
||||
cc_library_static {
|
||||
name: "android.hardware.bluetooth-async",
|
||||
proprietary: true,
|
||||
defaults: ["hidl_defaults"],
|
||||
srcs: [
|
||||
"async_fd_watcher.cc",
|
||||
],
|
||||
export_include_dirs: ["."],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libcutils",
|
||||
"liblog",
|
||||
"libutils",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "android.hardware.bluetooth-hci",
|
||||
proprietary: true,
|
||||
defaults: ["hidl_defaults"],
|
||||
srcs: [
|
||||
"hci_packetizer.cc",
|
||||
@@ -66,7 +65,6 @@ cc_library_static {
|
||||
export_include_dirs: ["."],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#define LOG_TAG "android.hardware.bluetooth@1.0-impl"
|
||||
#include "bluetooth_hci.h"
|
||||
|
||||
#include <utils/Log.h>
|
||||
#include <log/log.h>
|
||||
|
||||
#include "vendor_interface.h"
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
#include "hci_protocol.h"
|
||||
|
||||
#define LOG_TAG "android.hardware.bluetooth-hci-hci_protocol"
|
||||
#include <android-base/logging.h>
|
||||
#include <assert.h>
|
||||
#include <fcntl.h>
|
||||
#include <utils/Log.h>
|
||||
#include <log/log.h>
|
||||
|
||||
namespace android {
|
||||
namespace hardware {
|
||||
|
||||
@@ -22,12 +22,12 @@
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
|
||||
#include <log/log.h>
|
||||
#include <netdb.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <utils/Log.h>
|
||||
|
||||
namespace android {
|
||||
namespace hardware {
|
||||
|
||||
@@ -25,10 +25,10 @@
|
||||
#include <mutex>
|
||||
#include <vector>
|
||||
|
||||
#include <log/log.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <utils/Log.h>
|
||||
|
||||
namespace android {
|
||||
namespace hardware {
|
||||
|
||||
@@ -25,10 +25,10 @@
|
||||
#include <mutex>
|
||||
#include <vector>
|
||||
|
||||
#include <log/log.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <utils/Log.h>
|
||||
|
||||
namespace android {
|
||||
namespace hardware {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include <cutils/properties.h>
|
||||
#include <utils/Log.h>
|
||||
#include <log/log.h>
|
||||
|
||||
static const int MAX_PROPERTIES = 5;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user