linux: Add strip binary action.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 3 Mar 2014 04:55:04 +0000 (12:55 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 3 Mar 2014 04:55:04 +0000 (12:55 +0800)
atom.gyp

index 9ff58a6..578b020 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
                 '--jobs=16',
               ],
             },
+            {
+              'action_name': 'Strip Binary',
+              'inputs': [
+                '<(PRODUCT_DIR)/libchromiumcontent.so',
+                '<(PRODUCT_DIR)/libffmpegsumo.so',
+                '<(PRODUCT_DIR)/<(project_name)',
+              ],
+              'outputs': [
+                '<(PRODUCT_DIR)/dummy_file',
+              ],
+              'action': [
+                'strip',
+                '<@(_inputs)'
+              ],
+            },
           ],
         }],  # OS=="linux"
       ],