linux: Dump symbols in create-dist.py.

This commit is contained in:
Cheng Zhao 2014-03-03 09:44:16 +08:00
parent 7cfff62037
commit 2d2fbaaa4a
2 changed files with 27 additions and 3 deletions

View file

@ -520,6 +520,32 @@
},
],
}], # OS=="win"
['OS=="linux"', {
'dependencies': [
'vendor/breakpad/breakpad.gyp:dump_syms',
],
'actions': [
{
'action_name': 'Dump Symbols',
'inputs': [
'<(PRODUCT_DIR)/<(project_name)',
],
'outputs': [
'<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
],
'action': [
'python',
'tools/mac/generate_breakpad_symbols.py',
'--build-dir=<(PRODUCT_DIR)',
'--binary=<(PRODUCT_DIR)/<(project_name)',
'--symbols-dir=<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
'--libchromiumcontent-dir=<(libchromiumcontent_library_dir)',
'--clear',
'--jobs=16',
],
},
],
}], # OS=="linux"
],
}, # target <(project_name>_dump_symbols
],

View file

@ -205,8 +205,6 @@ def create_symbols_zip():
with scoped_cwd(DIST_DIR):
files = ['LICENSE', 'version']
dirs = ['Atom-Shell.breakpad.syms']
if TARGET_PLATFORM == 'linux':
dirs = []
make_zip(zip_file, files, dirs)