]> khamidou — GitHub mirrors - electron.git/commitdiff
Also copy gyp files when copying headers.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 21 Aug 2013 03:52:13 +0000 (11:52 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 21 Aug 2013 03:52:13 +0000 (11:52 +0800)
script/create-dist.py

index 83f1d1873363a1efd6c5aa4aed12aedee484009f..74cb36933f9670252187344dd31f1fa8e9a56f62 100755 (executable)
@@ -28,9 +28,10 @@ HEADERS_DIRS = [
   'deps/v8',
   'deps/zlib',
   'deps/uv',
-  'tools',
 ]
 HEADERS_FILES = [
+  'common.gypi',
+  'config.gypi',
 ]
 
 
@@ -66,6 +67,8 @@ def copy_headers():
         if extension not in HEADERS_SUFFIX:
           continue
         copy_source_file(os.path.join(dirpath, filename))
+  for other_file in HEADERS_FILES:
+    copy_source_file(os.path.join(NODE_DIR, other_file))
 
 
 def copy_license():