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

Issue 13231: Remove DCHECKS from official builds.... (Closed)

Created:
12 years ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
Reviewers:
Nicolas Sylvain, sgk
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Remove DCHECKS from official builds. We keep the current behavior for regular builds: - debug: DCHECKS enabled. - release: DCHECKS present but inactive; can be activated through the command line. Now we add a new behavior for official builds: - dchecks optimized away. B=4555 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6830

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -2 lines) Patch
M base/logging.h View 4 chunks +60 lines, -2 lines 1 comment Download
M build/internal/release_impl_official.scons View 1 chunk +3 lines, -0 lines 1 comment Download
M build/internal/release_impl_official.vsprops View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
rvargas (doing something else)
12 years ago (2008-12-06 02:52:15 UTC) #1
Nicolas Sylvain
I think we already have a define or something else for official build. We use ...
12 years ago (2008-12-06 15:29:49 UTC) #2
Nicolas Sylvain
we already have stuff like that : #if defined(GOOGLE_CHROME_BUILD) static const char* const kSbClientName = ...
12 years ago (2008-12-08 16:51:03 UTC) #3
rvargas (doing something else)
nope. Unfortunately, you are pointing to definitions that depend on Chrome vs Chromium. I don't ...
12 years ago (2008-12-08 18:35:00 UTC) #4
Nicolas Sylvain
fair enough, you convinced me, lgtm
12 years ago (2008-12-08 18:53:05 UTC) #5
sgk
lgtm, modulo one indentation style nit http://codereview.chromium.org/13231/diff/1/2 File build/internal/release_impl_official.scons (right): http://codereview.chromium.org/13231/diff/1/2#newcode32 Line 32: 'OFFICIAL_BUILD', Nit: ...
12 years ago (2008-12-11 21:54:39 UTC) #6
rvargas (doing something else)
12 years ago (2008-12-11 22:12:01 UTC) #7
Thanks,

Commited after addressing the comments.

On 2008/12/11 21:54:39, sgk wrote:
> lgtm, modulo one indentation style nit
> 
> http://codereview.chromium.org/13231/diff/1/2
> File build/internal/release_impl_official.scons (right):
> 
> http://codereview.chromium.org/13231/diff/1/2#newcode32
> Line 32: 'OFFICIAL_BUILD',
> Nit:  Google Python style is to indent this four spaces, not two.  (Two spaces
> is only for flow-control blocks.)

Powered by Google App Engine
This is Rietveld 408576698