Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99ad31a1 authored by Dennis Cheng's avatar Dennis Cheng Committed by Andre Eisenbach
Browse files

test_vendor_lib: Use libbase's CHECK/DCHECK

This upload pulls in libchrome to the test vendor library and uses CHECK
and DCHECK from base/logging.h.

Bug: 21586676
Change-Id: Ia88b4aa3728493d798e8d36076a351a00fad7c6b
parent ef4b8198
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -19,7 +19,9 @@ shared_library("test_vendor_lib") {
    "//stack/include",
  ]

  # TODO(dennischeng): Add libchrome as a dependency.
  deps = [
    "//third_party/libchrome",
  ]
}

# TODO(dennischeng): Add a unit test target.
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
#include <vector>
#include <unordered_map>

#include <base/macros.h>
#include "base/macros.h"

namespace test_vendor_lib {

+2 −3
Original line number Diff line number Diff line
@@ -16,12 +16,11 @@

#pragma once

#include "vendor_libs/test_vendor_lib/include/packet.h"

#include <cstdint>
#include <vector>

#include <base/macros.h>
#include "base/macros.h"
#include "vendor_libs/test_vendor_lib/include/packet.h"

namespace test_vendor_lib {

+2 −2
Original line number Diff line number Diff line
@@ -16,12 +16,12 @@

#pragma once

#include "vendor_libs/test_vendor_lib/include/packet.h"

#include <cstdint>
#include <memory>
#include <vector>

#include "vendor_libs/test_vendor_lib/include/packet.h"

namespace test_vendor_lib {

// The following is specified in the Bluetooth Core Specification Version 4.2,
+3 −4
Original line number Diff line number Diff line
@@ -16,15 +16,14 @@

#pragma once

#include "vendor_libs/test_vendor_lib/include/command_packet.h"
#include "vendor_libs/test_vendor_lib/include/packet.h"

#include <cstdint>
#include <memory>
#include <unordered_map>
#include <vector>

#include <base/macros.h>
#include "base/macros.h"
#include "vendor_libs/test_vendor_lib/include/command_packet.h"
#include "vendor_libs/test_vendor_lib/include/packet.h"

namespace test_vendor_lib {

Loading