Make sure we dump symbols before stripping binary.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 3 Mar 2014 06:17:48 +0000 (14:17 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 3 Mar 2014 06:17:48 +0000 (14:17 +0800)
atom.gyp

index 578b020..19eef43 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
                 '<(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"