Cheng Zhao
af05f5b329
Add function to get host_arch
2015-07-01 09:17:44 +00:00
Cheng Zhao
432bab3107
Only allow building on 64bit machine
2015-07-01 16:51:06 +08:00
Cheng Zhao
3d88d56965
Support cross-compiling
2015-07-01 07:47:21 +00:00
Cheng Zhao
04d24f61fe
Update to node.gyp's changes
2015-06-10 14:11:34 +08:00
Cheng Zhao
de016e72a5
win: Build with the arch chosen by user
2015-04-11 18:07:22 +08:00
Cheng Zhao
c5b85b23eb
Remove linux_clang option
...
We are always using clang now.
2015-04-08 19:22:02 +08:00
Cheng Zhao
555e06573a
Fix pylint warnings
2015-04-08 19:19:40 +08:00
Cheng Zhao
dab9e9be67
Also build with static_library version of libchromiumcontent
2015-04-02 23:03:23 +08:00
Cheng Zhao
7e49645998
Build node as shared library
2015-04-01 20:26:46 +08:00
Cheng Zhao
b93564894c
Make script quit when error happens in child processes.
2014-08-08 23:23:56 +08:00
Cheng Zhao
4880096f3d
Restructure the update.py.
2014-08-03 23:13:04 +08:00
Dane Springmeyer
16428baea2
make pylint happy
2014-07-31 11:58:45 -07:00
Dane Springmeyer
4cd3119125
fix indent
2014-07-31 11:22:22 -07:00
Dane Springmeyer
191b1aa719
only default to 64 bit build on darwin and 64bit linux
...
- maintains default to 32 bit on windows
2014-07-31 10:20:33 -07:00
Dane Springmeyer
978f73756b
fix node to build with target_arch=x64 on linux
...
atom-shell on linux is incorrectly reporting `ia32` for `process.arch`.
This is happening because `-Dtarget_arch=ia32` is passed to ninja on linux inside `script/update.py` which leads to '-DARCH="ia32"' being set in the compile flags. I see that the current intention is to target 64 bit builds on linux (37275c64cd
) and the binaries are in fact compiled as 64 bit despite this bug. I guess ninja is somehow smartly ignoring the incorrect setting of the `-m32` flags at 6d772c3cda/common.gypi (L175-L178)
.
Until this is fixed it breaks usage of any node-pre-gyp packaged node addons because node-pre-gyp depends on process.arch being correct in order to require the right binary arch.
2014-07-30 20:51:23 -07:00
Cheng Zhao
9754050598
Rename "frameworks" to "external_binaries".
2014-05-18 23:35:07 +08:00
Cheng Zhao
8f9e0d8d59
Download dirextx sdk dlls.
2014-05-18 23:03:46 +08:00
Cheng Zhao
c64a793364
Build with clang under Linux.
2013-12-31 11:27:31 +00:00
Cheng Zhao
a2522efb25
Build for x64 architecture on OS X, fixes #132 .
2013-12-27 14:17:35 +08:00
Cheng Zhao
cfca12d4a5
Use the gyp vendored by brightray.
2013-12-25 18:47:19 +08:00
Cheng Zhao
ef8a05be38
💄 Fix violations against pylint.
2013-09-27 10:21:27 +08:00
Cheng Zhao
296feb1a50
💄 on string comparison.
2013-08-06 20:44:18 +08:00
Cheng Zhao
192216ea64
Update node before running npm.
2013-08-03 16:38:02 +08:00
Cheng Zhao
d7351f102f
Update node to v0.10.5.
2013-07-26 19:31:58 +08:00
Cheng Zhao
598f3cdcd9
Update gyp and depot_tools.
2013-07-10 08:36:26 +08:00
Cheng Zhao
e87a7c286c
Don't throw exception when gyp fails.
...
This makes output cleaner when we got a gyp error.
2013-07-02 09:33:11 +08:00
Cheng Zhao
f510f77b98
Use win32 python to call gyp when running under cygwin.
2013-07-01 15:49:52 +08:00
Cheng Zhao
bafd6a5c49
Ship gyp.
2013-07-01 15:21:56 +08:00
Cheng Zhao
97a38fe55d
Only download frameworks on OS X.
2013-07-01 15:21:55 +08:00
Cheng Zhao
3cc304cbe5
Rewrite update script in python.
2013-06-24 15:24:30 +08:00