mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Build with node.
This commit is contained in:
5
.gitmodules
vendored
5
.gitmodules
vendored
@@ -1,3 +1,6 @@
|
|||||||
[submodule "vendor/brightray"]
|
[submodule "vendor/brightray"]
|
||||||
path = 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
|
||||||
|
|||||||
4
atom.gyp
4
atom.gyp
@@ -30,6 +30,9 @@
|
|||||||
'app/atom_library_main.h',
|
'app/atom_library_main.h',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
'includes': [
|
||||||
|
'vendor/brightray/brightray.gypi'
|
||||||
|
],
|
||||||
'targets': [
|
'targets': [
|
||||||
{
|
{
|
||||||
'target_name': '<(project_name)',
|
'target_name': '<(project_name)',
|
||||||
@@ -93,6 +96,7 @@
|
|||||||
'type': 'static_library',
|
'type': 'static_library',
|
||||||
'dependencies': [
|
'dependencies': [
|
||||||
'vendor/brightray/brightray.gyp:brightray',
|
'vendor/brightray/brightray.gyp:brightray',
|
||||||
|
'vendor/node/node.gyp:node',
|
||||||
],
|
],
|
||||||
'sources': [
|
'sources': [
|
||||||
'<@(lib_sources)',
|
'<@(lib_sources)',
|
||||||
|
|||||||
@@ -4,4 +4,7 @@ set -e
|
|||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
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
|
||||||
|
|||||||
1
vendor/node
vendored
Submodule
1
vendor/node
vendored
Submodule
Submodule vendor/node added at 732fcb812d
Reference in New Issue
Block a user