diff options
author | Abseil Team <absl-team@google.com> | 2024-03-15 01:12:42 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-03-15 01:13:48 -0700 |
commit | d0d902e6e1dcfec1e861bddee00e30fa04d4084d (patch) | |
tree | cd3a7ec34ca7bc3f42b64ebea3c663f812b94f92 | |
parent | 74df6975aef6d6fa2020313922e9a94b42364f38 (diff) |
[log] Make :vlog_is_on/:absl_vlog_is_on public in BUILD.bazel
No longer include vlog_is_on.h from log.h. This is a breaking change.
To use VLOG_IS_ON(), absl/log/vlog_is_on.h must be included, not log.h.
PiperOrigin-RevId: 616045708
Change-Id: I59261eb5c28846557b43b040e187ec3ef36e4132
-rw-r--r-- | absl/log/BUILD.bazel | 6 | ||||
-rw-r--r-- | absl/log/log.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/absl/log/BUILD.bazel b/absl/log/BUILD.bazel index 7ff5143d..fb9db96d 100644 --- a/absl/log/BUILD.bazel +++ b/absl/log/BUILD.bazel @@ -243,9 +243,6 @@ cc_library( hdrs = ["absl_vlog_is_on.h"], copts = ABSL_DEFAULT_COPTS, linkopts = ABSL_DEFAULT_LINKOPTS, - visibility = [ - "//absl/log:__subpackages__", - ], deps = [ "//absl/base:config", "//absl/base:core_headers", @@ -259,9 +256,6 @@ cc_library( hdrs = ["vlog_is_on.h"], copts = ABSL_DEFAULT_COPTS, linkopts = ABSL_DEFAULT_LINKOPTS, - visibility = [ - "//absl/log:__subpackages__", - ], deps = [ ":absl_vlog_is_on", ], diff --git a/absl/log/log.h b/absl/log/log.h index b721b087..90415fa8 100644 --- a/absl/log/log.h +++ b/absl/log/log.h @@ -198,7 +198,6 @@ #define ABSL_LOG_LOG_H_ #include "absl/log/internal/log_impl.h" -#include "absl/log/vlog_is_on.h" // IWYU pragma: export // LOG() // |