Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 51436bf4b2455cf6ad73ffb6d057d84cc2af3eda..5acd4520c304e0aeafbacd186c04e57d5548b371 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2942,6 +2942,24 @@ |
'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base'], |
}, |
'conditions': [ |
+ [ 'OS=="ios"', { |
+ 'Profile': { |
+ 'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base'], |
+ 'target_conditions': [ |
+ [ '_type=="executable"', { |
+ # To get a real .dSYM bundle produced by dsymutil, set the |
+ # debug information format to dwarf-with-dsym. Since |
+ # strip_from_xcode will not be used, set Xcode to do the |
+ # stripping as well. |
+ 'xcode_settings': { |
+ 'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym', |
+ 'DEPLOYMENT_POSTPROCESSING': 'YES', |
+ 'STRIP_INSTALLED_PRODUCT': 'YES', |
+ }, |
+ }], |
+ ], |
+ }, |
+ }], |
[ 'OS=="win"', { |
# TODO(bradnelson): add a gyp mechanism to make this more graceful. |
'Debug_x64': { |