Remove unused copy_chromedriver target
authorCheng Zhao <zcbenz@gmail.com>
Wed, 8 Apr 2015 12:16:02 +0000 (20:16 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 8 Apr 2015 12:16:02 +0000 (20:16 +0800)
atom.gyp
tools/copy_binary.py [deleted file]

index 81c9204..029b813 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
         }],  # OS=="linux"
       ],
     },  # target <(project_name>_dump_symbols
-    {
-      'target_name': 'copy_chromedriver',
-      'type': 'none',
-      'actions': [
-        {
-          'action_name': 'Copy ChromeDriver Binary',
-          'variables': {
-            'conditions': [
-              ['OS=="win"', {
-                'chromedriver_binary': 'chromedriver.exe',
-              },{
-                'chromedriver_binary': 'chromedriver',
-              }],
-            ],
-          },
-          'inputs': [
-            '<(libchromiumcontent_dir)/<(chromedriver_binary)',
-          ],
-          'outputs': [
-            '<(PRODUCT_DIR)/<(chromedriver_binary)',
-          ],
-          'action': [
-            'python',
-            'tools/copy_binary.py',
-            '<@(_inputs)',
-            '<@(_outputs)',
-          ],
-        }
-      ],
-    },  # copy_chromedriver
   ],
   'conditions': [
     ['OS=="mac"', {
diff --git a/tools/copy_binary.py b/tools/copy_binary.py
deleted file mode 100755 (executable)
index a21b652..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/env python
-
-import os
-import shutil
-import stat
-import sys
-
-src = sys.argv[1]
-dist = sys.argv[2]
-
-shutil.copyfile(src, dist)
-os.chmod(dist, os.stat(dist).st_mode | stat.S_IEXEC)