DescriptionRoll googletest to 1.7.0+.
This is a (less ambitious) re-land of http://crrev.com/2852613002 which
was reverted due to content_browsertests crashes on ChromeOS. That CL is
a re-land of http://crrev.com/2779193002 which was reverted due to build
errors on Mac.
Instead of rolling Google Test to 1.8.0, this CL uses the last commit
before a breaking change was introduced. Details about the breakage are
in https://crbug.com/630705#c27 and https://crbug.com/630705#c28. It is
expected that rolling Google Test from there to the next usable version
will be much less disruptive.
GoogleTest (gtest) and GoogleMock (gmock) are now hosted into the same
googletest repository. In order to cope with this, the googletest
repository is now sourced at third_party/googletest.
The file/directory layout of Google Test is not yet considered stable.
To minimize disruption while Google Test stabilizes, Chromium code will
be insulated from third_party/googletest.
* testing/gtest/include/gtest/ and testing/gmock/include/gmock have
been populated with headers that forward into the appropriate locations of
third_party/googletest
* testing/BUILD.gn has been populated with the targets
//testing/gtest(:gtest_main) and //testing/gmock(:gmock_main), which
depend on the appropriate //third_party/googletest targets.
All Chromium code should keep depending on the targets and headers
in testing/{gtest,gmock} for now.
BUG=630705
TESTED=out/Default/content_browsertests --gtest_filter=MojoTest.Init
TESTED=ninja -C out/Default/ ced_unittests && ninja -C out/Default
TBR=rkc, dpranke
Review-Url: https://codereview.chromium.org/2856383002
Cr-Commit-Position: refs/heads/master@{#469551}
Committed: https://chromium.googlesource.com/chromium/src/+/52e27a3d242ac0bbcbdc00683f6489ed4d8e9b3f
Patch Set 1 : http://crrev.com/2852613002 #Patch Set 2 : Remove Windows clang warning section, because gtest was fixed. #Patch Set 3 : Revert to the old gtest+gmock, but with the new directory structure. #Patch Set 4 : Roll to 1.8.0 release commit. #Patch Set 5 : Roll back to first googletest commit with the new gtest gmock structure. #Patch Set 6 : First bad gtest commit - bb5c92f9d1f0b26c79978e92f38a0e5fbcc8c9bf #Patch Set 7 : Last good gtest commit - 43359642a1c16ad3f4fc575c7edd0cb935810815 #Patch Set 8 : Revert net/ test change, it will be needed when we roll to 1.8.0+ #Patch Set 9 : Correct googletest version in README.chromium. #Patch Set 10 : (failed) Rebase to get past http://crrev.com/2789433004 #Patch Set 11 : Rebase to get past http://crrev.com/2789433004 #Messages
Total messages: 45 (37 generated)
|