Skip to content

Commit aff84de

Browse files
committed
Enable C++11 features in gtest.
BUG= TEST=unittest REF_BUG=19010851 REF_CL=84755788
1 parent 7ec05c0 commit aff84de

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/mozc_version_template.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MAJOR=2
22
MINOR=17
3-
BUILD=2135
3+
BUILD=2136
44
REVISION=102
55
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
66
# downloaded by NaCl Mozc.

src/testing/testing.gyp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,10 @@
5656
'type': 'static_library',
5757
'variables': {
5858
'gtest_defines': [
59-
'GTEST_HAS_TR1_TUPLE=1',
59+
'GTEST_LANG_CXX11=1',
60+
'GTEST_HAS_TR1_TUPLE=0', # disable tr1 tuple in favor of C++11 tuple.
6061
],
6162
'conditions': [
62-
# TODO(yukawa): Get rid of the following workaround when C++11 is
63-
# enabled on all the platforms.
64-
['target_platform!="Windows"', {
65-
'gtest_defines': [
66-
'GTEST_LANG_CXX11=0', # non-Windows build is not ready
67-
],
68-
}],
6963
['_toolset=="target" and target_platform=="Android"', {
7064
'gtest_defines': [
7165
'GTEST_HAS_RTTI=0', # Android NDKr7 requires this.

0 commit comments

Comments
 (0)