summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-10 19:35:03 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-10 19:35:03 +0000
commitb8da78ad0ca066ada021b02bf4aaf1a686ef5af3 (patch)
tree4e1a751a9cdfb8bc763e9f395fe0b77a086946fb /chrome/chrome.gyp
parenta1d5396ed9f2101d021031675eab55aafb3a2894 (diff)
downloadchromium_src-b8da78ad0ca066ada021b02bf4aaf1a686ef5af3.zip
chromium_src-b8da78ad0ca066ada021b02bf4aaf1a686ef5af3.tar.gz
chromium_src-b8da78ad0ca066ada021b02bf4aaf1a686ef5af3.tar.bz2
Only enable breakpad and keystone for official branded builds so the rolling google chrome build doesn't spend the time doing the work for these things.
BUG=none TEST=Official builds still auto update and have breakpad. Review URL: http://codereview.chromium.org/155364 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20401 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp54
1 files changed, 32 insertions, 22 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 26c37fef..3b33aa7 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -2601,7 +2601,6 @@
},
}],
['mac_breakpad==1', {
- # Only include breakpad in official builds.
'variables': {
# A real .dSYM is needed for dump_syms to operate on.
'mac_real_dsym': 1,
@@ -3975,27 +3974,38 @@
},
],
'conditions': [
- # We set feature variables so the different parts that need to check for
- # the mac build use of breakpad/keystone, check that flag instead of coding
- # it based on branding.
- # We need the Mac app name on disk, so we stick this into a variable so
- # the different places that need it can use the common variable.
- # NOTE: chrome/app/theme/chromium/BRANDING and
- # chrome/app/theme/google_chrome/BRANDING have the short names, etc.;
- # but extracting from there still means xcodeproject are out of date until
- # the next project regeneration.
- ['OS=="mac" and branding=="Chrome"', {
- 'variables': {
- 'mac_breakpad%': 1,
- 'mac_keystone%': 1,
- 'mac_product_name%': 'Google Chrome',
- }
- }, {
- 'variables': {
- 'mac_breakpad%': 0,
- 'mac_keystone%': 0,
- 'mac_product_name%': 'Chromium',
- }
+ ['OS=="mac"', {
+ 'conditions': [
+ # We need the Mac app name on disk, so we stick this into a variable so
+ # the different places that need it can use the common variable.
+ # NOTE: chrome/app/theme/chromium/BRANDING and
+ # chrome/app/theme/google_chrome/BRANDING have the short names, etc.;
+ # but extracting from there still means xcodeproject are out of date until
+ # the next project regeneration.
+ ['branding=="Chrome"', {
+ 'variables': {
+ 'mac_product_name%': 'Google Chrome',
+ }
+ }, {
+ 'variables': {
+ 'mac_product_name%': 'Chromium',
+ }
+ }],
+ # We set feature variables so the different parts of the gyp file use
+ # these vars in conditions instead of repeating the check of branding
+ # and buildtype.
+ ['branding=="Chrome" and buildtype=="Official"', {
+ 'variables': {
+ 'mac_breakpad%': 1,
+ 'mac_keystone%': 1,
+ }
+ }, {
+ 'variables': {
+ 'mac_breakpad%': 0,
+ 'mac_keystone%': 0,
+ }
+ }],
+ ],
}],
['OS=="linux"', {
'conditions': [