From 04e2be73a69ff43bb0fe5e8a9bf05a99c5b957fb Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Mon, 6 Apr 2026 12:03:45 -0700 Subject: [PATCH] [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. --- utils/bazel/llvm-project-overlay/llvm/BUILD.bazel | 2 -- .../bazel/llvm-project-overlay/third-party/unittest/BUILD.bazel | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel index 847a7e3a36fe..ce866a4ac0e3 100644 --- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel @@ -6471,10 +6471,8 @@ cc_library( ]), hdrs = glob(["include/llvm/Testing/Support/*.h"]), copts = llvm_copts, - features = ["-layering_check"], deps = [ ":Support", - ":config", "//third-party/unittest:gmock", "//third-party/unittest:gtest", ], diff --git a/utils/bazel/llvm-project-overlay/third-party/unittest/BUILD.bazel b/utils/bazel/llvm-project-overlay/third-party/unittest/BUILD.bazel index 1ba1f6bd5a0e..c63d4a64c7d9 100644 --- a/utils/bazel/llvm-project-overlay/third-party/unittest/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/third-party/unittest/BUILD.bazel @@ -55,6 +55,7 @@ cc_library( ], hdrs = [ "googletest/include/gtest/gtest.h", + "googletest/include/gtest/gtest-printers.h", "googletest/include/gtest/gtest-spi.h", "googletest/include/gtest/internal/gtest-port.h", ],