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

Issue 389313002: Avoid macro redefinition in tools_sanity_unittest.cc (Closed)

Created:
6 years, 5 months ago by tzik
Modified:
6 years, 5 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, inferno
Project:
chromium
Visibility:
Public.

Description

Avoid macro redefinition in tools_sanity_unittest.cc This causes build failure by macro redefinition on ASan-enabled build without -w flag. BUG=162783 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283978

Patch Set 1 #

Total comments: 2

Patch Set 2 : drop warning suppression #

Patch Set 3 : move #endif above #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -10 lines) Patch
M base/tools_sanity_unittest.cc View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M build/common.gypi View 1 5 chunks +0 lines, -6 lines 2 comments Download

Messages

Total messages: 12 (0 generated)
tzik
PTL
6 years, 5 months ago (2014-07-14 12:25:52 UTC) #1
Nico
https://codereview.chromium.org/389313002/diff/1/base/tools_sanity_unittest.cc File base/tools_sanity_unittest.cc (right): https://codereview.chromium.org/389313002/diff/1/base/tools_sanity_unittest.cc#newcode131 base/tools_sanity_unittest.cc:131: #endif // (defined(ADDRESS_SANITIZER) && defined(OS_IOS)) || defined(SYZYASAN) Are you ...
6 years, 5 months ago (2014-07-16 19:02:29 UTC) #2
tzik
Updated! Plus, I added a warning suppression removal for the issue. https://codereview.chromium.org/389313002/diff/1/base/tools_sanity_unittest.cc File base/tools_sanity_unittest.cc (right): ...
6 years, 5 months ago (2014-07-17 06:05:42 UTC) #3
Nico
The cc file looks good to me now :-) https://codereview.chromium.org/389313002/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/389313002/diff/40001/build/common.gypi#newcode3281 build/common.gypi:3281: ...
6 years, 5 months ago (2014-07-17 16:08:55 UTC) #4
tzik
https://codereview.chromium.org/389313002/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/389313002/diff/40001/build/common.gypi#newcode3281 build/common.gypi:3281: ['os_posix==1 and (asan!=1 and msan!=1 and tsan!=1 and lsan!=1 ...
6 years, 5 months ago (2014-07-17 17:29:05 UTC) #5
Nico
Oh, you're right. inferno: Do we do buildtype=Official asan builds for clusterfuzz on linux?
6 years, 5 months ago (2014-07-17 17:33:45 UTC) #6
aarya
On 2014/07/17 17:33:45, Nico (away) wrote: > Oh, you're right. inferno: Do we do buildtype=Official ...
6 years, 5 months ago (2014-07-17 17:39:40 UTC) #7
Nico
lgtm
6 years, 5 months ago (2014-07-17 17:42:39 UTC) #8
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 5 months ago (2014-07-18 00:52:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/389313002/40001
6 years, 5 months ago (2014-07-18 00:53:38 UTC) #10
commit-bot: I haz the power
Change committed as 283978
6 years, 5 months ago (2014-07-18 02:40:50 UTC) #11
Alexander Potapenko
6 years, 5 months ago (2014-07-18 07:04:57 UTC) #12
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698