Roll crashpad/third_party/googletest/googletest/ e589a3371..11da093e0 (288 commits)

https://chromium.googlesource.com/external/github.com/google/googletest/+log/e589a3371705..11da093e0477

$ git log e589a3371..11da093e0 --date=short --no-merges --format='%ad %ae %s'
2021-04-20 github Use URL instead of git-repo
2021-04-15 sebkraemer Apply missing suggestions from code review for GTEST_SKIP
2021-04-15 sebkraemer Apply suggestions from code review for GTEST_SKIP documentation
2020-12-15 sebkraemer Add subsection for GTEST_SKIP documentation
2021-04-15 jbampton chore: fix spelling
2021-04-14 github Mention to explicitely set the option to it's default.
2021-04-14 github Changes like Requested.
2021-03-17 77407429+a-sully Update nicestrictnaggy gmock cook_book links
2021-03-11 absl-team Internal change
2021-03-14 zekewarren Use @platforms instead of @bazel_tools for windows constraint
2021-03-13 github Use Fetchcontent instead of ExternalProject
2018-05-01 lantw44 Avoid using environ on FreeBSD
2020-02-17 krystian.kuzniarek remove a duplicated include
2020-06-10 rharrison Fix build issue for MinGW
2020-05-30 eli fix compilation on OpenBSD 6.7
2020-03-07 krystian.kuzniarek make UniversalPrinter<std::any> support RTTI
2020-03-07 krystian.kuzniarek specialize UniversalPrinter<> for std::any (without support for RTTI)
2020-03-07 krystian.kuzniarek specialize UniversalPrinter<> for std::optional
2020-03-07 krystian.kuzniarek specialize UniversalPrinter<> for std::variant
2020-05-25 invalid_ms_user Use count function instead of handwritten loop
2020-05-10 mate.pek README.dm: Renamed related open source project name: Catch2 and Google Test Explorer -> C++ TestMate
2020-05-08 martin Remove an explicit include of debugapi.h
2020-05-05 igor.n.nazarenko Detect proto messages based on presense of DebugString.
2020-03-26 mvoorsluys Fix test with stack.
2020-03-29 verdoialaurent Fix --gtest_print_time coloring
2020-03-26 mvoorsluys Fixed xml unit-tests and added extra tests
2020-03-26 mvoorsluys Fix multiple \n characters in xml file when using GTEST_SKIP.
2020-03-26 mvoorsluys Only write ">\n" once when there is failure and skipped tests.
2020-03-26 mvoorsluys Output skipped information in the xml file.
2020-03-21 ngompa13 Set the version for the libraries
2020-02-21 nini16041988-gitbucket Add missing call for gtest_list_output_unittest_ unitTest. Add unitTest for fixed TEST_P line number. Use CodeLocation TestInfo struct.
2020-02-18 nini16041988-gitbucket Fix: shadow member
2020-02-18 nini16041988-gitbucket Add correct line number to TEST_P test cases for gtest_output.
2020-02-06 59134746+aribibek fix a link to documentation
2020-01-17 hgsilverman Fix always false condition and clean function body
2020-01-22 mjvk Fixes extensions missing for QNX

Created with:
  roll-dep crashpad/third_party/googletest/googletest

Change-Id: Icbc77a05d4088a170a0f4027c1edd42a3937d175
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2854039
Reviewed-by: Scott Graham <scottmg@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
GitOrigin-RevId: b8d3be9b78071f98ad82ff65aa3df7761c05bfc8
diff --git a/DEPS b/DEPS
index e13b566..2e325ed 100644
--- a/DEPS
+++ b/DEPS
@@ -33,7 +33,7 @@
   },
   'crashpad/third_party/googletest/googletest':
       Var('chromium_git') + '/external/github.com/google/googletest@' +
-      'e589a337170554c48bc658cc857cf15080c9eacc',
+      '11da093e0477185dbd78abaaa9f99db15be498d0',
   'crashpad/third_party/gyp/gyp':
       Var('chromium_git') + '/external/gyp@' +
       '8bee09f4a57807136593ddc906b0b213c21f9014',
diff --git a/third_party/googletest/BUILD.gn b/third_party/googletest/BUILD.gn
index f51db0e..ee3485d 100644
--- a/third_party/googletest/BUILD.gn
+++ b/third_party/googletest/BUILD.gn
@@ -113,7 +113,6 @@
       "$googletest_dir/googletest/test/googletest-message-test.cc",
       "$googletest_dir/googletest/test/googletest-options-test.cc",
       "$googletest_dir/googletest/test/googletest-port-test.cc",
-      "$googletest_dir/googletest/test/googletest-printers-test.cc",
       "$googletest_dir/googletest/test/googletest-test-part-test.cc",
       "$googletest_dir/googletest/test/gtest-typed-test2_test.cc",
       "$googletest_dir/googletest/test/gtest-typed-test_test.cc",
@@ -126,6 +125,15 @@
       "$googletest_dir/googletest/test/production.cc",
       "$googletest_dir/googletest/test/production.h",
     ]
+
+    if (!crashpad_is_win) {
+      # TODO: Fix error C2015: too many characters in constant. As this error
+      # cannot be suppressed, removing the test on Windows. See
+      # https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2855854/2
+      # for details.
+      sources +=
+          [ "$googletest_dir/googletest/test/googletest-printers-test.cc" ]
+    }
     configs -= [ "$mini_chromium_dir/build/config:Wexit_time_destructors" ]
     configs += [ ":googletest_private_config" ]
     deps = [
@@ -259,7 +267,6 @@
       "$googletest_dir/googlemock/include/gmock/gmock-actions.h",
       "$googletest_dir/googlemock/include/gmock/gmock-cardinalities.h",
       "$googletest_dir/googlemock/include/gmock/gmock-function-mocker.h",
-      "$googletest_dir/googlemock/include/gmock/gmock-generated-actions.h",
       "$googletest_dir/googlemock/include/gmock/gmock-matchers.h",
       "$googletest_dir/googlemock/include/gmock/gmock-more-actions.h",
       "$googletest_dir/googlemock/include/gmock/gmock-more-matchers.h",
@@ -302,8 +309,6 @@
       "$googletest_dir/googlemock/test/gmock-actions_test.cc",
       "$googletest_dir/googlemock/test/gmock-cardinalities_test.cc",
       "$googletest_dir/googlemock/test/gmock-function-mocker_test.cc",
-      "$googletest_dir/googlemock/test/gmock-generated-actions_test.cc",
-      "$googletest_dir/googlemock/test/gmock-generated-matchers_test.cc",
       "$googletest_dir/googlemock/test/gmock-internal-utils_test.cc",
       "$googletest_dir/googlemock/test/gmock-matchers_test.cc",
       "$googletest_dir/googlemock/test/gmock-more-actions_test.cc",
@@ -331,6 +336,12 @@
         "-Wno-unused-private-field",
       ]
     }
+
+    if (crashpad_is_win) {
+      # TODO: Correct SDK in vc\tools\msvc\14.14.26428\include\functional
+      cflags = [ "/wd4789" ]  # VAR of size N bytes will be overrun
+    }
+
   }
 
   test("gmock_link_test") {