diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 18:54:57 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 18:54:57 +0000 |
commit | 4c9cc6c9d2c3c801088337f56e7270459beb3289 (patch) | |
tree | 834f8063a2e45d8b626f6630fc1078a3bd0ff5e1 /build | |
parent | 0dd5dda0318cfbe06bc73f4a24a5e6b6b8e3fc30 (diff) | |
download | chromium_src-4c9cc6c9d2c3c801088337f56e7270459beb3289.zip chromium_src-4c9cc6c9d2c3c801088337f56e7270459beb3289.tar.gz chromium_src-4c9cc6c9d2c3c801088337f56e7270459beb3289.tar.bz2 |
Remove a circular dependency for chrome Linux symbols. Make it possible to force Linux symbol dumping.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/243056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi index aad3600..bffde17 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -41,6 +41,8 @@ # We do want to build Chromium with Breakpad support in certain # situations. I.e. for Chrome bot. 'linux_chromium_breakpad%': 0, + # And if we want to dump symbols. + 'linux_chromium_dump_symbols': 0, # By default, Linux does not use views. To turn on views in Linux, # set the variable GYP_DEFINES to "toolkit_views=1", or modify @@ -144,7 +146,7 @@ # Set this to true to enable SELinux support. 'selinux%': 0, - + # Set to select the Title Case versions of strings in GRD files. 'use_titlecase_in_grd_files%': 0, @@ -156,6 +158,17 @@ }, { 'linux_breakpad%': 0, }], + # All Chrome builds have breakpad symbols, but only process the + # symbols from official builds. + # TODO(mmoss) dump_syms segfaults on x64. Enable once dump_syms and + # crash server handle 64-bit symbols. + ['linux_chromium_dump_symbols==1 or ' + '(branding=="Chrome" and buildtype=="Official" and ' + 'target_arch=="ia32")', { + 'linux_dump_symbols%': 1, + }, { + 'linux_dump_symbols%': 0, + }], ['toolkit_views==0', { # GTK wants Title Case strings 'use_titlecase_in_grd_files%': 1, |