From eac21d572e92a82f5656379bc90f8ecf1ff884fc Mon Sep 17 00:00:00 2001 From: Milad Fa Date: Tue, 7 Sep 2021 13:38:00 -0400 Subject: [PATCH] Fix config visibility violation in //testing/gmock This is a port of the following 2 CL on Chromium: https://crrev.com/c/3139927 https://crrev.com/c/2672580 Bug: gn:252 Change-Id: I7c0636fad9d9f07c73e5f77b9b0a342d0326800f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3145613 Reviewed-by: Michael Achenbach Commit-Queue: Milad Fa Cr-Commit-Position: refs/heads/main@{#76725} --- testing/gmock/BUILD.gn | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/testing/gmock/BUILD.gn b/testing/gmock/BUILD.gn index de5ae53909..c20d33511a 100644 --- a/testing/gmock/BUILD.gn +++ b/testing/gmock/BUILD.gn @@ -15,12 +15,7 @@ source_set("gmock") { "include/gmock/gmock-matchers.h", "include/gmock/gmock.h", ] - deps = [ "//third_party/googletest:gmock" ] - - public_configs = [ - "//third_party/googletest:gmock_config", - "//third_party/googletest:gtest_config", - ] + public_deps = [ "//third_party/googletest:gmock" ] } # The file/directory layout of Google Test is not yet considered stable. Until