summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 18:30:25 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 18:30:25 +0000
commitc211142320049e1382366f7e6e1393ddf61381c4 (patch)
tree88ec9a68e969ea73e6dc6dcdbce9bf9002e1bab4 /build/common.gypi
parent39216bee9402bb343519cdb4cd517dc5120531b4 (diff)
downloadchromium_src-c211142320049e1382366f7e6e1393ddf61381c4.zip
chromium_src-c211142320049e1382366f7e6e1393ddf61381c4.tar.gz
chromium_src-c211142320049e1382366f7e6e1393ddf61381c4.tar.bz2
Generate .dSYM bundles for loadable_modules as well.
Review URL: http://codereview.chromium.org/2468002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48642 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/common.gypi b/build/common.gypi
index be7a21e..3228d13 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1152,7 +1152,7 @@
['_mac_bundle', {
'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
}],
- ['_type=="executable" or _type=="shared_library"', {
+ ['_type=="executable" or _type=="shared_library" or _type=="loadable_module"', {
'target_conditions': [
['mac_real_dsym == 1', {
# To get a real .dSYM bundle produced by dsymutil, set the
@@ -1166,14 +1166,14 @@
'DEPLOYMENT_POSTPROCESSING': 'YES',
'STRIP_INSTALLED_PRODUCT': 'YES',
'target_conditions': [
- ['_type=="shared_library"', {
+ ['_type=="shared_library" or _type=="loadable_module"', {
# The Xcode default is to strip debugging symbols
# only (-S). Local symbols should be stripped as
# well, which will be handled by -x. Xcode will
# continue to insert -S when stripping even when
# additional flags are added with STRIPFLAGS.
'STRIPFLAGS': '-x',
- }], # _type=="shared_library"
+ }], # _type=="shared_library" or _type=="loadable_module"'
], # target_conditions
}, # xcode_settings
}, # configuration "Release"
@@ -1196,7 +1196,7 @@
], # postbuilds
}], # mac_real_dsym
], # target_conditions
- }], # _type=="executable" or _type=="shared_library"
+ }], # _type=="executable" or _type=="shared_library" or _type=="loadable_module"
], # target_conditions
}, # target_defaults
}], # OS=="mac"