From 27d2d2911d6c031b97dd0d2d5a2cb92f97715272 Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Mon, 20 Mar 2023 08:23:43 -0700 Subject: [PATCH] Remove erroneous dependencies @com_google_googletest//:gtest and @com_google_googletest//:gtest_main from //src/google/protobuf/json:parser (#12267) Downstream bazel projects that depend on protoc would need to provide googletest dependencies when it should not be necessary to do so. Fixes #11409 Closes #12267 COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12267 from prestonvanloon:remove-erroneous-googletest-dep 09fd163094b5138ad4512a19bf0331bf2cf6db2b PiperOrigin-RevId: 517974450 --- src/google/protobuf/json/BUILD.bazel | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/google/protobuf/json/BUILD.bazel b/src/google/protobuf/json/BUILD.bazel index ea363acf1b0a..d6019f939914 100644 --- a/src/google/protobuf/json/BUILD.bazel +++ b/src/google/protobuf/json/BUILD.bazel @@ -227,8 +227,6 @@ cc_library( "@com_google_absl//absl/strings:str_format", "@com_google_absl//absl/types:optional", "@com_google_absl//absl/types:span", - "@com_google_googletest//:gtest", - "@com_google_googletest//:gtest_main", ], )