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

Issue 7719007: Add a gyp flag to enable dcheck by default in release without (Closed)

Created:
9 years, 4 months ago by Nicolas Sylvain
Modified:
9 years, 3 months ago
CC:
chromium-reviews, kkania, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add a gyp flag to enable dcheck by default in release without having the pass a flag. This will be used on the try bots. BUG=96753 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102017

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Total comments: 3

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 1

Patch Set 7 : '' #

Total comments: 2

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -23 lines) Patch
M base/file_util_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M base/logging.h View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -1 line 0 comments Download
M base/logging_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -5 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/prefs/incognito_mode_prefs_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_notifier_impl_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/syncable/directory_backing_store_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download
M chrome/test/automation/automation_proxy_uitest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M ipc/ipc_fuzzing_tests.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M net/http/http_cache_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M net/socket/transport_client_socket_pool_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -2 lines 0 comments Download
M net/spdy/spdy_protocol_test.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M ui/base/text/bytes_formatting_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/rect_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Nicolas Sylvain
9 years, 4 months ago (2011-08-23 19:56:49 UTC) #1
M-A Ruel
lgtm, let's run that on all the try builder configurations.
9 years, 4 months ago (2011-08-23 20:04:51 UTC) #2
nsylvain
also adding rick
9 years, 4 months ago (2011-08-23 20:32:49 UTC) #3
rvargas (doing something else)
http://codereview.chromium.org/7719007/diff/2001/chrome/common/logging_chrome.cc File chrome/common/logging_chrome.cc (right): http://codereview.chromium.org/7719007/diff/2001/chrome/common/logging_chrome.cc#newcode385 chrome/common/logging_chrome.cc:385: command_line.HasSwitch(switches::kEnableDCHECK)) { Looks like we need another condition here ...
9 years, 4 months ago (2011-08-23 20:48:22 UTC) #4
nsylvain
i moved the check to a better place. ptal
9 years, 4 months ago (2011-08-23 21:15:54 UTC) #5
rvargas (doing something else)
http://codereview.chromium.org/7719007/diff/3005/base/logging.h File base/logging.h (right): http://codereview.chromium.org/7719007/diff/3005/base/logging.h#newcode630 base/logging.h:630: #else // defined(DCHECK_ALWAYS_ON) nit: I think the comment adds ...
9 years, 4 months ago (2011-08-23 22:03:59 UTC) #6
nsylvain
updated
9 years, 4 months ago (2011-08-23 22:21:42 UTC) #7
rvargas (doing something else)
LGTM, but we should figure out what is LOG_IS_ON about.
9 years, 4 months ago (2011-08-23 22:28:04 UTC) #8
nsylvain
I submitted a try job on the release try bots with the gyp file hardcoded ...
9 years, 4 months ago (2011-08-24 00:04:00 UTC) #9
rvargas (doing something else)
LGTM http://codereview.chromium.org/7719007/diff/6004/base/logging_unittest.cc File base/logging_unittest.cc (right): http://codereview.chromium.org/7719007/diff/6004/base/logging_unittest.cc#newcode209 base/logging_unittest.cc:209: #endif // !defined(LOGGING_IS_OFFICIAL_BUILD) && defined(NDEBUG) && \ nit: ...
9 years, 4 months ago (2011-08-24 00:49:37 UTC) #10
nsylvain
Another update for this never ending patch. Now all tests running on the try bots ...
9 years, 3 months ago (2011-08-27 22:42:29 UTC) #11
nsylvain
On 2011/08/27 22:42:29, nsylvain wrote: > Another update for this never ending patch. Now all ...
9 years, 3 months ago (2011-08-27 22:53:23 UTC) #12
M-A Ruel
I'd prefer a DCHECK_ENABLED define. It'd require a lower cognitive overhead and would be unambiguous. ...
9 years, 3 months ago (2011-08-29 14:44:57 UTC) #13
nsylvain
there is already a ENABLE_DCHECK define, which means the DCHECK are compiled in. If i ...
9 years, 3 months ago (2011-08-29 17:12:40 UTC) #14
rvargas (doing something else)
Each time I look at that file it seems messier than before :(. But again, ...
9 years, 3 months ago (2011-08-29 18:25:22 UTC) #15
M-A Ruel
lgtm
9 years, 3 months ago (2011-08-29 18:36:52 UTC) #16
commit-bot: I haz the power
Presubmit check for 7719007-32001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 3 months ago (2011-09-20 16:37:21 UTC) #17
nsylvain
Adding more reviewers (avi) to make the OWNERS file in content/browser happy. Diff for that ...
9 years, 3 months ago (2011-09-20 17:02:14 UTC) #18
nsylvain
Yes one more reviewer (willchan) for Base/.
9 years, 3 months ago (2011-09-20 17:20:14 UTC) #19
willchan no longer on Chromium
9 years, 3 months ago (2011-09-20 18:09:08 UTC) #20
On 2011/09/20 17:20:14, nsylvain wrote:
> Yes one more reviewer (willchan) for Base/.

LGTM

Powered by Google App Engine
This is Rietveld 408576698