From: Cheng Zhao Date: Fri, 28 Jun 2013 08:38:05 +0000 (+0800) Subject: Ship gyp. X-Git-Tag: v0.1.0~70 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=bafd6a5c493086e09013877037fe7c3d78581794;p=electron.git Ship gyp. --- diff --git a/.gitmodules b/.gitmodules index 74736fd8..783f2cb0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/script/update.py b/script/update.py index 47d39f8e..146f0c63 100755 --- a/script/update.py +++ b/script/update.py @@ -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 index 00000000..4e2c8086 --- /dev/null +++ b/vendor/gyp @@ -0,0 +1 @@ +Subproject commit 4e2c8086835d6e768b2e1dde82bff8f87165d257