v8/third_party/googletest
Maya Lekova 7f9d7f0e40 [test] Import v8.gni to googletest and fix its visibility
This CL ensures googletest is built with the build configuration used
for other components of V8. This works around the issue that googletest
is compiled with hidden visibility, even in configurations that compile
with default visibility, such as when v8_enable_backtrace is provided.

Bug: chromium:1191946
Change-Id: I70fa3ce0a668a71a091607c22d2dda67e496fec4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2850700
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74189}
2021-04-26 15:00:38 +00:00
..
custom/gtest/internal/custom Update V8 DEPS. 2018-04-10 07:59:07 +00:00
gmock_custom/gmock/internal/custom Roll googletest to 1.8.0+. 2018-03-23 07:54:27 +00:00
BUILD.gn [test] Import v8.gni to googletest and fix its visibility 2021-04-26 15:00:38 +00:00
OWNERS Roll googletest to 1.8.0+. 2018-03-23 07:54:27 +00:00
README.chromium Update V8 DEPS. 2019-01-22 14:49:04 +00:00

Name: Google Test: Google's C++ Testing Framework
Short Name: googletest
URL: https://github.com/google/googletest.git
Version: 1.8.0.git-9518a57428ae0a7ed450c1361768e84a2a38af5a
License: BSD
Security critical: no

Google Test is imported as-is, to facilitate version bumping. However, the
file/directory layout of Google Test is not yet considered stable. Therefore,
until Google Test's layout stabilizes, Chromium code MUST NOT depend on it
directly. Instead, Chromium code MUST:

* #include the headers in testing/gtest and testing/gmock
* use //testing/gtest(:gtest_main) and //testing/gmock(:gmock_main) in BUILD.gn
  deps

This will allow us to adapt to Google Test changes with minimal disruption.