Make sure we dump symbols before stripping binary.

This commit is contained in:
Cheng Zhao 2014-03-03 14:17:48 +08:00
parent 51f0090555
commit 88dde07bf1

View file

@ -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"