summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-03 21:28:14 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-03 21:28:14 +0000
commitc957f41811ad9b86656e804d6f4728349bdcf11d (patch)
treea60aaa3bc5c19c3e08037c05d8d563d847a83949 /testing
parentca3c13289c257f9c034d48360d3e62048213cb75 (diff)
downloadchromium_src-c957f41811ad9b86656e804d6f4728349bdcf11d.zip
chromium_src-c957f41811ad9b86656e804d6f4728349bdcf11d.tar.gz
chromium_src-c957f41811ad9b86656e804d6f4728349bdcf11d.tar.bz2
roll gtest 621:629 and gmock 405:410
gtest: 622: Fixes gtest-tuple.h in Visual C++ 7.1. 623: Removes obsolete debug code. 624: wiki change 625: Improves Android support (by David Turner). 626: wiki change 627: wiki change 628: combines 8 changes: * Fixes some python shebang lines. * Add ElementsAreArray overloads to gmock. * Templatize MatchAndExplain to allow independent string types. * Fix bug where the constructor of the return type of ElementsAre() saves a reference instead of a copy of the arguments. * Extends ElementsAre() to accept arrays whose sizes aren't known. * Switches gTest's internal FilePath class to std::string * Switches gTest & gMock from using testing::internal::String objects to std::string. 629: Unbreak building gtest with -std=c++11 on Mac OS X 10.6. gmock: 406: wiki change 407: Pulls in gtest r615 (Renames internal enums to the kFoo naming style.) 408: Makes gmock's Pointee() work for optional<T> (by Jeffrey Yasskin). 409: wiki change 410: Same commit message as gtest 628. BUG=none Review URL: https://codereview.chromium.org/11431003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing')
-rw-r--r--testing/gtest.gyp5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/gtest.gyp b/testing/gtest.gyp
index 9dfb16f..7c225e8 100644
--- a/testing/gtest.gyp
+++ b/testing/gtest.gyp
@@ -128,10 +128,15 @@
# own implementation but we must opt in to it.
'defines': [
'GTEST_USE_OWN_TR1_TUPLE=1',
+ # GTEST_USE_OWN_TR1_TUPLE only works if GTEST_HAS_TR1_TUPLE is set.
+ # gtest r625 made it so that GTEST_HAS_TR1_TUPLE is set to 0
+ # automatically on android, so it has to be set explicitly here.
+ 'GTEST_HAS_TR1_TUPLE=1',
],
'direct_dependent_settings': {
'defines': [
'GTEST_USE_OWN_TR1_TUPLE=1',
+ 'GTEST_HAS_TR1_TUPLE=1',
],
},
}],