]> khamidou — GitHub mirrors - electron.git/commitdiff
Ship gyp.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 28 Jun 2013 08:38:05 +0000 (16:38 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 1 Jul 2013 07:21:56 +0000 (15:21 +0800)
.gitmodules
script/update.py
vendor/gyp [new submodule]

index 74736fd87d2fc9efac744b5baebeb30d2534fce7..783f2cb0b46f2a60a951591f247fbbb18bab2c68 100644 (file)
@@ -4,3 +4,6 @@
 [submodule "vendor/node"]
        path = vendor/node
   url = https://github.com/atom/cefode-node.git
+[submodule "vendor/gyp"]
+       path = vendor/gyp
+       url = https://github.com/svn2github/gyp.git
index 47d39f8ef72789c2060aeccc4e9c1940649fd6a9..146f0c63a608865139d60e96155b6f7825b9da5a 100755 (executable)
@@ -27,7 +27,9 @@ def update_frameworks_and_node(version):
 
 
 def update_gyp():
-  subprocess.check_call(['gyp', '-f', 'ninja', '--depth', '.', 'atom.gyp',
+  gyp = os.path.join(SOURCE_ROOT, 'vendor', 'gyp', 'gyp')
+  subprocess.check_call([sys.executable, gyp,
+                         '-f', 'ninja', '--depth', '.', 'atom.gyp',
                          '-Icommon.gypi', '-Ivendor/brightray/brightray.gypi',
                          '-Dtarget_arch=ia32', '-Dlibrary=static_library'])
 
diff --git a/vendor/gyp b/vendor/gyp
new file mode 160000 (submodule)
index 0000000..4e2c808
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 4e2c8086835d6e768b2e1dde82bff8f87165d257