Make RE2 a public dependency of googletest.
GTEST_HAS_ABSL implies a RE2 dependency, which is provided in Chrome as
//third_party/re2. However, the Linux sysroot also includes a (much
older) copy of RE2 as well; targets that depend on googletest need to
use //third_party/re2, not the sysroot's re2.
Bug: 1409870
Change-Id: I373e3d01b86cd72237013daf833a9cbb4e873910
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5082016
Reviewed-by: Ayu Ishii <ayui@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232818}
NOKEYCHECK=True
GitOrigin-RevId: 3af9680370bbb6715e44548bb099faf0727c9176
1 file changed