],
}],
['_type in ["executable", "shared_library"]', {
- # On some machines setting CLANG_CXX_LIBRARY doesn't work for linker.
'xcode_settings': {
+ # On some machines setting CLANG_CXX_LIBRARY doesn't work for linker.
'OTHER_LDFLAGS': [
'-stdlib=libc++'
],
+ # Generates symbols and strip the binary.
+ 'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
+ 'DEPLOYMENT_POSTPROCESSING': 'YES',
+ 'STRIP_INSTALLED_PRODUCT': 'YES',
+ 'STRIPFLAGS': '-x',
},
}],
],
],
},
},
- 'xcode_settings': {
- 'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
- },
},
'conditions': [
# Settings to compile with clang under OS X.