Update copybara rule to ban direct use of absl/log in entire repo.

PiperOrigin-RevId: 670757551
This commit is contained in:
Francis Tsui
2024-09-03 17:13:40 -07:00
committed by Copybara-Service
parent 3917415c7a
commit 05685dda5b
5 changed files with 2 additions and 17 deletions
@@ -22,13 +22,6 @@
#include "securegcm/ukey2_handshake.h"
#include "absl/functional/any_invocable.h"
#include "absl/functional/bind_front.h"
#include "internal/platform/mutex.h"
#include "internal/platform/mutex_lock.h"
#ifndef NEARBY_CHROMIUM
#ifndef NEARBY_SWIFTPM
#include "absl/log/check.h" // nogncheck
#endif
#endif
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "connections/implementation/bluetooth_endpoint_channel.h"
@@ -49,6 +42,8 @@
#include "internal/platform/feature_flags.h"
#include "internal/platform/implementation/system_clock.h"
#include "internal/platform/logging.h"
#include "internal/platform/mutex.h"
#include "internal/platform/mutex_lock.h"
#include "proto/connections_enums.pb.h"
namespace nearby {
-7
View File
@@ -37,14 +37,7 @@
#include <memory>
#include <utility>
#ifdef NEARBY_CHROMIUM
#include "base/check.h"
#elif defined(NEARBY_SWIFTPM)
#include "internal/platform/logging.h"
#else
#include "absl/log/check.h" // nogncheck
#endif
#include "internal/platform/mutex.h"
#include "internal/platform/mutex_lock.h"
@@ -27,7 +27,6 @@
#include "absl/container/flat_hash_map.h"
#include "absl/functional/any_invocable.h"
#include "absl/log/check.h"
#include "absl/status/status.h"
#include "absl/strings/escaping.h"
#include "absl/strings/str_format.h"
@@ -18,7 +18,6 @@
#include <exception>
#include <memory>
#include "absl/log/check.h"
#include "absl/synchronization/mutex.h"
#include "absl/synchronization/notification.h"
#include "internal/platform/exception.h"
@@ -21,7 +21,6 @@
#include <string>
#include <utility>
#include "absl/log/check.h"
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"
#include "internal/platform/implementation/bluetooth_classic.h"