summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 18:28:17 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 18:28:17 +0000
commitc87efd42858edeb7d2e2a8596d7241319042971d (patch)
tree1b022c8c30c4cb47715e962aa0c8ed14cb816073
parente398a726d2aada2a325f50be21b35374bb57d7bc (diff)
downloadchromium_src-c87efd42858edeb7d2e2a8596d7241319042971d.zip
chromium_src-c87efd42858edeb7d2e2a8596d7241319042971d.tar.gz
chromium_src-c87efd42858edeb7d2e2a8596d7241319042971d.tar.bz2
Linux: Switch to DWARF for official builds. Good riddence.
BUG=20737 TEST=none Review URL: http://codereview.chromium.org/2892001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57553 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/base.gypi5
-rw-r--r--build/common.gypi4
-rw-r--r--gpu/demos/demos.gyp4
-rw-r--r--webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp3
4 files changed, 1 insertions, 15 deletions
diff --git a/base/base.gypi b/base/base.gypi
index 383e45d..e5d8119 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -665,11 +665,6 @@
'cflags': [
'-fPIC',
],
- # Official builds set -gstabs, which fails when building with -fPIC.
- # It's useless on 64 bits anyways because breakpad doesn't work then.
- 'cflags!': [
- '-gstabs',
- ],
'direct_dependent_settings': {
'include_dirs': [
'..',
diff --git a/build/common.gypi b/build/common.gypi
index 7530c57..b21398cd 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -924,8 +924,6 @@
'cflags': [
'-O>(debug_optimize)',
'-g',
- # One can use '-gstabs' to enable building the debugging
- # information in STABS format for breakpad's dumpsyms.
],
},
'Release_Base': {
@@ -1108,7 +1106,7 @@
],
}],
['linux_breakpad==1', {
- 'cflags': [ '-gstabs' ],
+ 'cflags': [ '-g' ],
'defines': ['USE_LINUX_BREAKPAD'],
}],
['linux_use_seccomp_sandbox==1 and buildtype!="Official"', {
diff --git a/gpu/demos/demos.gyp b/gpu/demos/demos.gyp
index a7ba2b9..e7fc57e 100644
--- a/gpu/demos/demos.gyp
+++ b/gpu/demos/demos.gyp
@@ -103,10 +103,6 @@
'framework/plugin.rc',
],
}],
- ['OS=="linux"', {
- # -gstabs, used in the official builds, causes an ICE. Remove it.
- 'cflags!': ['-gstabs'],
- }],
['OS=="mac"', {
'sources': [
'framework/Plugin_Info.plist',
diff --git a/webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp b/webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp
index fa535a5..7f987bb 100644
--- a/webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp
+++ b/webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp
@@ -50,9 +50,6 @@
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
'type': 'shared_library',
'cflags': ['-fvisibility=hidden'],
- # -gstabs, used in the official builds, causes an ICE. Simply remove
- # it.
- 'cflags!': ['-gstabs'],
}],
['OS=="linux" or OS=="openbsd" or OS=="freebsd" and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', {
'product_name': 'pepper_test_plugin',