[bazel] Fix TestingSupport layering_check (#190630)

I'm not sure if this header is public API upstream but we are using it
that way anyways.
This commit is contained in:
Keith Smiley 2026-04-06 12:03:45 -07:00 committed by GitHub
parent ab43cb8520
commit 04e2be73a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -6471,10 +6471,8 @@ cc_library(
]), ]),
hdrs = glob(["include/llvm/Testing/Support/*.h"]), hdrs = glob(["include/llvm/Testing/Support/*.h"]),
copts = llvm_copts, copts = llvm_copts,
features = ["-layering_check"],
deps = [ deps = [
":Support", ":Support",
":config",
"//third-party/unittest:gmock", "//third-party/unittest:gmock",
"//third-party/unittest:gtest", "//third-party/unittest:gtest",
], ],

View File

@ -55,6 +55,7 @@ cc_library(
], ],
hdrs = [ hdrs = [
"googletest/include/gtest/gtest.h", "googletest/include/gtest/gtest.h",
"googletest/include/gtest/gtest-printers.h",
"googletest/include/gtest/gtest-spi.h", "googletest/include/gtest/gtest-spi.h",
"googletest/include/gtest/internal/gtest-port.h", "googletest/include/gtest/internal/gtest-port.h",
], ],