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

Issue 132038: Add a gyp "buildtype" variable to differentiate official release builds. (Closed)

Created:
11 years, 6 months ago by Michael Moss
Modified:
9 years, 7 months ago
Reviewers:
Nicolas Sylvain, TVL
CC:
chromium-reviews_googlegroups.com, Mark Mentovai
Visibility:
Public.

Description

Add a gyp "buildtype" variable to differentiate official release builds. This notion was previously overloaded on "branding", but as implied, that variable should really just control the "Google Chrome" vs. "Chromium" branding. We need a separate setting to distinguish between "release" builds (which get special handling, like breakpad symbol processing), and "everyday" builds, like the buildbot continuous builds or personal developer builds. This fixes a problem where the "Google Chrome" continuous builder was unnecessarily trying to upload breakpad symbols for every single build.

Patch Set 1 #

Patch Set 2 : comment cleanup #

Total comments: 2

Patch Set 3 : cleanup define usages #

Patch Set 4 : Fix logic again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -1 line) Patch
M build/common.gypi View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Michael Moss
11 years, 6 months ago (2009-06-18 22:35:41 UTC) #1
Nicolas Sylvain
great, lgtm. Do you plan to make the buildbot change too or you want me ...
11 years, 6 months ago (2009-06-18 22:40:25 UTC) #2
Michael Moss
On 2009/06/18 22:40:25, Nicolas Sylvain wrote: > great, lgtm. Do you plan to make the ...
11 years, 6 months ago (2009-06-18 22:42:47 UTC) #3
TVL
http://codereview.chromium.org/132038/diff/6/1002 File chrome/chrome.gyp (right): http://codereview.chromium.org/132038/diff/6/1002#newcode2405 Line 2405: ['branding=="Chrome" and buildtype=="Official"', { I guess I'm confused, ...
11 years, 6 months ago (2009-06-19 12:27:30 UTC) #4
Michael Moss
11 years, 6 months ago (2009-06-22 17:30:14 UTC) #5
http://codereview.chromium.org/132038/diff/6/1002
File chrome/chrome.gyp (right):

http://codereview.chromium.org/132038/diff/6/1002#newcode2405
Line 2405: ['branding=="Chrome" and buildtype=="Official"', {
On 2009/06/19 12:27:31, TVL wrote:
> I guess I'm confused, why key off both?  the summary implied buildtype was
gonna
> be the thing to key off of for this sorta stuff, but you're checking both?
> 
> For this to really work, you also need to map buildtype into a CPP symbol so
the
> code that enables breakpad gets compiled in?

Done.

Powered by Google App Engine
This is Rietveld 408576698