mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-08-02 05:04:39 +08:00
Add the no_exit_time_destructors config to third_party/googletest/BUILD.gn, as parts of googletest will trigger -Wexit-time-destructors warnings if enabled. This is effectively the same CL as https://crrev.com/c/7682299 in Chromium. Standalone PDFium does not have -Wexit-time-destructors enabled right now, but may in the near future. This prepares for that. Change-Id: I5d688af1963fdcea49fdbcd3e4a78036afbb1635 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/145110 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Name: Google Test: Google's C++ Testing Framework Short Name: googletest URL: https://github.com/google/googletest.git Version: N/A Revision: DEPS Update Mechanism: Manual License: BSD-3-Clause License File: src/LICENSE Shipped: no 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, PDFium code MUST NOT depend on it directly. Instead, PDFium 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.