OSDN Git Service

Re-include bta/include/bta_api
authorChris Manton <cmanton@google.com>
Sat, 23 Jan 2021 00:49:08 +0000 (16:49 -0800)
committerChris Manton <cmanton@google.com>
Mon, 1 Feb 2021 02:08:43 +0000 (18:08 -0800)
Include what you use

Bug: 163134718
Tag: #refactor
Test: gd/cert/run

Change-Id: I93722e7b59792319a51de40a7f72bd4b5dd39921

bta/include/bta_api.h

index 790c55d..5fadcc3 100644 (file)
 #ifndef BTA_API_H
 #define BTA_API_H
 
-#include <hardware/bt_common_types.h>
-#include <memory>
-#include "bt_target.h"
-#include "bt_types.h"
-#include "btm_api.h"
-#include "btm_ble_api.h"
+#include <cstdint>
+#include <vector>
+
+#include "bt_target.h"  // Must be first to define build configuration
+
+#include "stack/include/bt_types.h"
+#include "stack/include/btm_api_types.h"
+#include "stack/include/btm_ble_api_types.h"
+#include "stack/include/sdp_api.h"
 #include "types/ble_address_with_type.h"
+#include "types/bluetooth/uuid.h"
 #include "types/bt_transport.h"
+#include "types/raw_address.h"
 
 /*****************************************************************************
  *  Constants and data types