OSDN Git Service

Using include paths relative to vendor library dir
authorJorge E. Moreira <jemoreira@google.com>
Thu, 4 Aug 2016 23:46:45 +0000 (16:46 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Mon, 15 Aug 2016 19:07:40 +0000 (19:07 +0000)
Change-Id: I6b5dfa4098cdf2eda21d3fae60729b765532c2f9

15 files changed:
vendor_libs/test_vendor_lib/include/command_packet.h
vendor_libs/test_vendor_lib/include/dual_mode_controller.h
vendor_libs/test_vendor_lib/include/event_packet.h
vendor_libs/test_vendor_lib/include/hci_transport.h
vendor_libs/test_vendor_lib/include/packet_stream.h
vendor_libs/test_vendor_lib/include/vendor_manager.h
vendor_libs/test_vendor_lib/src/command_packet.cc
vendor_libs/test_vendor_lib/src/dual_mode_controller.cc
vendor_libs/test_vendor_lib/src/event_packet.cc
vendor_libs/test_vendor_lib/src/hci_transport.cc
vendor_libs/test_vendor_lib/src/packet.cc
vendor_libs/test_vendor_lib/src/packet_stream.cc
vendor_libs/test_vendor_lib/src/test_channel_transport.cc
vendor_libs/test_vendor_lib/test/hci_transport_unittest.cc
vendor_libs/test_vendor_lib/test/packet_stream_unittest.cc

index 0661e0b..0eadc38 100644 (file)
@@ -21,7 +21,7 @@
 using std::vector;
 
 #include "base/macros.h"
-#include "vendor_libs/test_vendor_lib/include/packet.h"
+#include "packet.h"
 
 namespace test_vendor_lib {
 
index 96c6def..2a7646a 100644 (file)
@@ -25,9 +25,9 @@ using std::vector;
 
 #include "base/json/json_value_converter.h"
 #include "base/time/time.h"
-#include "vendor_libs/test_vendor_lib/include/command_packet.h"
-#include "vendor_libs/test_vendor_lib/include/hci_transport.h"
-#include "vendor_libs/test_vendor_lib/include/test_channel_transport.h"
+#include "command_packet.h"
+#include "hci_transport.h"
+#include "test_channel_transport.h"
 
 namespace test_vendor_lib {
 
index b82cd8a..ee42726 100644 (file)
@@ -22,7 +22,7 @@
 using std::vector;
 
 #include "base/logging.h"
-#include "vendor_libs/test_vendor_lib/include/packet.h"
+#include "packet.h"
 
 namespace test_vendor_lib {
 
index 4f41bbd..87dc17d 100644 (file)
@@ -28,10 +28,10 @@ extern "C" {
 #include "base/memory/weak_ptr.h"
 #include "base/message_loop/message_loop.h"
 #include "base/time/time.h"
-#include "vendor_libs/test_vendor_lib/include/command_packet.h"
-#include "vendor_libs/test_vendor_lib/include/event_packet.h"
-#include "vendor_libs/test_vendor_lib/include/packet.h"
-#include "vendor_libs/test_vendor_lib/include/packet_stream.h"
+#include "command_packet.h"
+#include "event_packet.h"
+#include "packet.h"
+#include "packet_stream.h"
 
 namespace test_vendor_lib {
 
index 4c2acdc..123e6df 100644 (file)
@@ -21,9 +21,9 @@
 #include <vector>
 using std::vector;
 
-#include "vendor_libs/test_vendor_lib/include/command_packet.h"
-#include "vendor_libs/test_vendor_lib/include/event_packet.h"
-#include "vendor_libs/test_vendor_lib/include/packet.h"
+#include "command_packet.h"
+#include "event_packet.h"
+#include "packet.h"
 
 namespace test_vendor_lib {
 
index 7190d5e..bb048ca 100644 (file)
 #include "base/memory/weak_ptr.h"
 #include "base/threading/thread.h"
 #include "base/time/time.h"
+#include "dual_mode_controller.h"
+#include "event_packet.h"
 #include "hci/include/bt_vendor_lib.h"
-#include "vendor_libs/test_vendor_lib/include/dual_mode_controller.h"
-#include "vendor_libs/test_vendor_lib/include/event_packet.h"
-#include "vendor_libs/test_vendor_lib/include/hci_transport.h"
-#include "vendor_libs/test_vendor_lib/include/test_channel_transport.h"
+#include "hci_transport.h"
+#include "test_channel_transport.h"
 
 #include <memory>
 
index daaa562..8704f5a 100644 (file)
@@ -16,7 +16,7 @@
 
 #define LOG_TAG "command_packet"
 
-#include "vendor_libs/test_vendor_lib/include/command_packet.h"
+#include "command_packet.h"
 
 extern "C" {
 #include "hci/include/hci_hal.h"
index c6d78e5..19ea3b5 100644 (file)
@@ -16,7 +16,7 @@
 
 #define LOG_TAG "dual_mode_controller"
 
-#include "vendor_libs/test_vendor_lib/include/dual_mode_controller.h"
+#include "dual_mode_controller.h"
 
 #include <memory>
 
@@ -24,8 +24,8 @@
 #include "base/json/json_reader.h"
 #include "base/logging.h"
 #include "base/values.h"
-#include "vendor_libs/test_vendor_lib/include/event_packet.h"
-#include "vendor_libs/test_vendor_lib/include/hci_transport.h"
+#include "event_packet.h"
+#include "hci_transport.h"
 
 extern "C" {
 #include "osi/include/log.h"
@@ -539,12 +539,13 @@ void DualModeController::HciLeSetRandomAddress(const vector<uint8_t>& args) {
   SendCommandCompleteSuccess(HCI_BLE_WRITE_RANDOM_ADDR);
 }
 
-void DualModeController::HciLeSetAdvertisingParameters(const vector<uint8_t>& args){
+void DualModeController::HciLeSetAdvertisingParameters(
+    const vector<uint8_t>& args) {
   LogCommand("LE SetAdvertisingParameters");
   SendCommandCompleteSuccess(HCI_BLE_WRITE_ADV_PARAMS);
 }
 
-void DualModeController::HciLeSetAdvertisingData(const vector<uint8_t>& args){
+void DualModeController::HciLeSetAdvertisingData(const vector<uint8_t>& args) {
   LogCommand("LE SetAdvertisingData");
   SendCommandCompleteSuccess(HCI_BLE_WRITE_ADV_DATA);
 }
index 15e8121..4b9eb7e 100644 (file)
@@ -16,7 +16,7 @@
 
 #define LOG_TAG "event_packet"
 
-#include "vendor_libs/test_vendor_lib/include/event_packet.h"
+#include "event_packet.h"
 
 extern "C" {
 #include "osi/include/log.h"
index b2c75e2..4aefb08 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <cinttypes>
 
-#include "vendor_libs/test_vendor_lib/include/hci_transport.h"
+#include "hci_transport.h"
 
 #include "base/bind.h"
 #include "base/threading/thread_task_runner_handle.h"
index d99833b..f119edd 100644 (file)
@@ -16,7 +16,7 @@
 
 #define LOG_TAG "packet"
 
-#include "vendor_libs/test_vendor_lib/include/packet.h"
+#include "packet.h"
 
 #include "base/logging.h"
 
index 1d47425..187d324 100644 (file)
@@ -16,7 +16,7 @@
 
 #define LOG_TAG "packet_stream"
 
-#include "vendor_libs/test_vendor_lib/include/packet_stream.h"
+#include "packet_stream.h"
 
 #include "base/logging.h"
 
index 3e23897..a1c969c 100644 (file)
@@ -16,7 +16,7 @@
 
 #define LOG_TAG "test_channel_transport"
 
-#include "vendor_libs/test_vendor_lib/include/test_channel_transport.h"
+#include "test_channel_transport.h"
 
 #include "base/logging.h"
 
index 43a3796..1ddc1d3 100644 (file)
@@ -14,8 +14,8 @@
 // limitations under the License.
 //
 
-#include "vendor_libs/test_vendor_lib/include/hci_transport.h"
-#include "vendor_libs/test_vendor_lib/include/command_packet.h"
+#include "hci_transport.h"
+#include "command_packet.h"
 
 #include "base/bind.h"
 #include "base/message_loop/message_loop.h"
index 2d56df3..bebf865 100644 (file)
 // limitations under the License.
 //
 
-#include "vendor_libs/test_vendor_lib/include/packet_stream.h"
-#include "vendor_libs/test_vendor_lib/include/command_packet.h"
-#include "vendor_libs/test_vendor_lib/include/event_packet.h"
-#include "vendor_libs/test_vendor_lib/include/packet.h"
+#include "packet_stream.h"
+#include "command_packet.h"
+#include "event_packet.h"
+#include "packet.h"
 
 #include <gtest/gtest.h>
 #include <cstdint>