Make sure we dump symbols before stripping binary.
This commit is contained in:
parent
51f0090555
commit
88dde07bf1
1 changed files with 6 additions and 4 deletions
10
atom.gyp
10
atom.gyp
|
@ -550,14 +550,16 @@
|
||||||
'<(PRODUCT_DIR)/libchromiumcontent.so',
|
'<(PRODUCT_DIR)/libchromiumcontent.so',
|
||||||
'<(PRODUCT_DIR)/libffmpegsumo.so',
|
'<(PRODUCT_DIR)/libffmpegsumo.so',
|
||||||
'<(PRODUCT_DIR)/<(project_name)',
|
'<(PRODUCT_DIR)/<(project_name)',
|
||||||
|
# Add the syms folder as input would force this action to run
|
||||||
|
# after the 'Dump Symbols' action. And since it is a folder,
|
||||||
|
# it would be ignored by the 'strip' command.
|
||||||
|
'<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
|
||||||
],
|
],
|
||||||
'outputs': [
|
'outputs': [
|
||||||
|
# Gyp action requires a output file, add a fake one here.
|
||||||
'<(PRODUCT_DIR)/dummy_file',
|
'<(PRODUCT_DIR)/dummy_file',
|
||||||
],
|
],
|
||||||
'action': [
|
'action': [ 'strip', '<@(_inputs)' ],
|
||||||
'strip',
|
|
||||||
'<@(_inputs)'
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}], # OS=="linux"
|
}], # OS=="linux"
|
||||||
|
|
Loading…
Reference in a new issue