Strip generate binaries

This commit is contained in:
Cheng Zhao 2015-04-03 12:06:23 +08:00
parent 8b7d875e40
commit d3abf64bd2

View file

@ -154,11 +154,16 @@
],
}],
['_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',
},
}],
],
@ -198,9 +203,6 @@
],
},
},
'xcode_settings': {
'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
},
},
'conditions': [
# Settings to compile with clang under OS X.