Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(880)

Issue 2174663002: Remove GTEST_LANG_CXX11 and switch to C++11 on gtest and gmock (Closed)

Created:
4 years, 5 months ago by tzik
Modified:
4 years, 5 months ago
CC:
chromium-reviews, gab
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove GTEST_LANG_CXX11 and switch to C++11 on gtest and gmock This CL removes GTEST_LANG_CXX11=0 from build configuration, and let gtest detect whether C++11 is available. And to make it work, this CL injects a custom gmock-port.h to provide missing type_traits. BUG=630299 Committed: https://crrev.com/6a1547324ce34c4b6779eb906fa9622e0b903afb Cr-Commit-Position: refs/heads/master@{#407360}

Patch Set 1 #

Patch Set 2 : +gyp #

Total comments: 2

Patch Set 3 : relpath -> abspath #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -28 lines) Patch
M build/secondary/testing/gmock/BUILD.gn View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M build/secondary/testing/gtest/BUILD.gn View 1 chunk +0 lines, -3 lines 0 comments Download
M remoting/remoting_test.gypi View 1 2 chunks +0 lines, -6 lines 0 comments Download
M testing/gmock.gyp View 1 1 chunk +2 lines, -1 line 0 comments Download
A testing/gmock_custom/gmock/internal/custom/gmock-port.h View 1 chunk +27 lines, -0 lines 0 comments Download
M testing/gtest.gyp View 1 2 chunks +0 lines, -3 lines 0 comments Download
M testing/gtest_nacl.gyp View 1 2 chunks +0 lines, -11 lines 0 comments Download
M ui/events/events_unittests.gyp View 1 1 chunk +0 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 38 (26 generated)
tzik
PTAL
4 years, 5 months ago (2016-07-22 08:25:58 UTC) #13
Dirk Pranke
lgtm https://codereview.chromium.org/2174663002/diff/20001/build/secondary/testing/gmock/BUILD.gn File build/secondary/testing/gmock/BUILD.gn (right): https://codereview.chromium.org/2174663002/diff/20001/build/secondary/testing/gmock/BUILD.gn#newcode8 build/secondary/testing/gmock/BUILD.gn:8: "../gmock_custom", does this work as "//testing/gmock_custom" instead? Using ...
4 years, 5 months ago (2016-07-22 16:29:03 UTC) #17
tzik
https://codereview.chromium.org/2174663002/diff/20001/build/secondary/testing/gmock/BUILD.gn File build/secondary/testing/gmock/BUILD.gn (right): https://codereview.chromium.org/2174663002/diff/20001/build/secondary/testing/gmock/BUILD.gn#newcode8 build/secondary/testing/gmock/BUILD.gn:8: "../gmock_custom", On 2016/07/22 16:29:02, Dirk Pranke wrote: > does ...
4 years, 5 months ago (2016-07-22 16:48:21 UTC) #20
Wez
-me, +sergeyu
4 years, 5 months ago (2016-07-22 18:39:19 UTC) #24
danakj
LGTM
4 years, 5 months ago (2016-07-22 18:47:27 UTC) #25
Sergey Ulanov
lgtm
4 years, 5 months ago (2016-07-22 18:53:08 UTC) #26
sadrul
lgtm
4 years, 5 months ago (2016-07-23 00:59:57 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2174663002/60001
4 years, 5 months ago (2016-07-23 08:34:00 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-23 08:37:25 UTC) #34
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/6a1547324ce34c4b6779eb906fa9622e0b903afb Cr-Commit-Position: refs/heads/master@{#407360}
4 years, 5 months ago (2016-07-23 08:38:40 UTC) #36
Michael Achenbach
This breaks v8 on linux (gn bots): https://codereview.chromium.org/2180823002/ Any hint how we can fix this?
4 years, 5 months ago (2016-07-25 07:01:32 UTC) #37
tzik
4 years, 5 months ago (2016-07-25 11:00:02 UTC) #38
Message was sent while issue was closed.
V8 seems to have its own gtest / gmock configuration that needs to be
updated.
PTAL to https://codereview.chromium.org/2179743002/

2016-07-25 16:01 GMT+09:00 <machenbach@chromium.org>:

> This breaks v8 on linux (gn bots):
> https://codereview.chromium.org/2180823002/
>
> Any hint how we can fix this?
>
> https://codereview.chromium.org/2174663002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698