]> khamidou — GitHub mirrors - electron.git/commitdiff
Build with node.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 12 Apr 2013 14:52:32 +0000 (22:52 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 12 Apr 2013 14:52:32 +0000 (22:52 +0800)
.gitmodules
atom.gyp
script/update
vendor/node [new submodule]

index eef6c657dc65481a7543f4ac3310e8751750e737..74736fd87d2fc9efac744b5baebeb30d2534fce7 100644 (file)
@@ -1,3 +1,6 @@
 [submodule "vendor/brightray"]
        path = vendor/brightray
-       url = git@github.com:aroben/brightray.git
+  url = https://github.com/aroben/brightray.git
+[submodule "vendor/node"]
+       path = vendor/node
+  url = https://github.com/atom/cefode-node.git
index 483c32b8d5dd8daf0c162fbc93f11753a40f8e93..505c0c59c05c363638b1a9ef627295e6a27bdc9a 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
@@ -30,6 +30,9 @@
       'app/atom_library_main.h',
     ],
   },
+  'includes': [
+    'vendor/brightray/brightray.gypi'
+  ],
   'targets': [
     {
       'target_name': '<(project_name)',
@@ -93,6 +96,7 @@
       'type': 'static_library',
       'dependencies': [
         'vendor/brightray/brightray.gyp:brightray',
+        'vendor/node/node.gyp:node',
       ],
       'sources': [
         '<@(lib_sources)',
index e7cc0ceabaa60f25b5cf0b3aec20c88995dc9f22..503fb6374f9bccbdbd608a39530ecfce32a7a6a9 100755 (executable)
@@ -4,4 +4,7 @@ set -e
 
 cd "$(dirname "$0")/.."
 
-gyp --depth . atom.gyp -I vendor/brightray/brightray.gypi
+gyp --depth . atom.gyp \
+  -Ivendor/brightray/brightray.gypi \
+  -Dtarget_arch=ia32 \
+  -Dlibrary=static_library
diff --git a/vendor/node b/vendor/node
new file mode 160000 (submodule)
index 0000000..732fcb8
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 732fcb812d0e47429d902c922c07ddb86b842d1d