Add a missing dependency on :raw_logging_internal

internal/stacktrace_x86-inl.inc includes internal/raw_logging.h and therefore needs
a direct dependency to satisfy Bazel layering_check (Clang -fmodules-strict-decluse).
Clang before https://reviews.llvm.org/D132779 does not report the issue becasue:

* internal/stacktrace_x86-inl.inc is an .inc file and is not checked as a main file
* internal/stacktrace_x86-inl.inc is a textual header and older Clang incorrectly
  considers there is no requesting module and suppresses the error.

PiperOrigin-RevId: 472795469
Change-Id: Ia4ad667ea80b2590cef1adfd22af025c8df826ac
pull/1277/head
Abseil Team 2 years ago committed by Copybara-Service
parent ea9c8ff578
commit f753eb27d0
  1. 1
      absl/debugging/BUILD.bazel
  2. 1
      absl/debugging/CMakeLists.txt

@ -49,6 +49,7 @@ cc_library(
":debugging_internal",
"//absl/base:config",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
],
)

@ -41,6 +41,7 @@ absl_cc_library(
absl::debugging_internal
absl::config
absl::core_headers
absl::raw_logging_internal
PUBLIC
)

Loading…
Cancel
Save