From 88dde07bf142edf47418755d19491d31ffa247ea Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 3 Mar 2014 14:17:48 +0800 Subject: [PATCH] Make sure we dump symbols before stripping binary. --- atom.gyp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/atom.gyp b/atom.gyp index 578b020cae5a..19eef43c06a6 100644 --- a/atom.gyp +++ b/atom.gyp @@ -550,14 +550,16 @@ '<(PRODUCT_DIR)/libchromiumcontent.so', '<(PRODUCT_DIR)/libffmpegsumo.so', '<(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': [ + # Gyp action requires a output file, add a fake one here. '<(PRODUCT_DIR)/dummy_file', ], - 'action': [ - 'strip', - '<@(_inputs)' - ], + 'action': [ 'strip', '<@(_inputs)' ], }, ], }], # OS=="linux"