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:
Steven Moreland
2017-04-11 12:22:27 -07:00
parent ca59e7f3ca
commit 96510c80f8
7 changed files with 8 additions and 11 deletions

View File

@@ -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",

View File

@@ -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"

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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;