From: Cheng Zhao Date: Mon, 3 Mar 2014 06:17:48 +0000 (+0800) Subject: Make sure we dump symbols before stripping binary. X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=88dde07bf142edf47418755d19491d31ffa247ea;p=electron.git Make sure we dump symbols before stripping binary. --- diff --git a/atom.gyp b/atom.gyp index 578b020c..19eef43c 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"