Ship gyp.

This commit is contained in:
Cheng Zhao 2013-06-28 16:38:05 +08:00
parent b56009c1d2
commit bafd6a5c49
3 changed files with 7 additions and 1 deletions

3
.gitmodules vendored
View file

@ -4,3 +4,6 @@
[submodule "vendor/node"] [submodule "vendor/node"]
path = vendor/node path = vendor/node
url = https://github.com/atom/cefode-node.git url = https://github.com/atom/cefode-node.git
[submodule "vendor/gyp"]
path = vendor/gyp
url = https://github.com/svn2github/gyp.git

View file

@ -27,7 +27,9 @@ def update_frameworks_and_node(version):
def update_gyp(): 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', '-Icommon.gypi', '-Ivendor/brightray/brightray.gypi',
'-Dtarget_arch=ia32', '-Dlibrary=static_library']) '-Dtarget_arch=ia32', '-Dlibrary=static_library'])

1
vendor/gyp vendored Submodule

@ -0,0 +1 @@
Subproject commit 4e2c8086835d6e768b2e1dde82bff8f87165d257