summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-09-04 17:56:51 -0400
committerAnna Henningsen <anna@addaleax.net>2019-11-30 18:06:39 +0100
commit09b1228c3a2723c6ecb768b40a507688015a478f (patch)
tree88acbfc979bc6f73572c86e8ee804bf0fa4ad326 /node.gyp
parent73c837b1ae91cb8852e75a921fa24c714471d690 (diff)
downloadandroid-node-v8-09b1228c3a2723c6ecb768b40a507688015a478f.tar.gz
android-node-v8-09b1228c3a2723c6ecb768b40a507688015a478f.tar.bz2
android-node-v8-09b1228c3a2723c6ecb768b40a507688015a478f.zip
wasi: introduce initial WASI support
Co-authored-by: Gus Caplan <me@gus.host> Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com> Co-authored-by: Jiawen Geng <technicalcute@gmail.com> Co-authored-by: Tobias Nießen <tniessen@tnie.de> Co-authored-by: Chengzhong Wu <legendecas@gmail.com> PR-URL: https://github.com/nodejs/node/pull/30258 Refs: https://github.com/nodejs/node/pull/27850 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Wyatt Preul <wpreul@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp19
1 files changed, 17 insertions, 2 deletions
diff --git a/node.gyp b/node.gyp
index d8b5596083..cffd150845 100644
--- a/node.gyp
+++ b/node.gyp
@@ -82,6 +82,7 @@
'lib/util.js',
'lib/v8.js',
'lib/vm.js',
+ 'lib/wasi.js',
'lib/worker_threads.js',
'lib/zlib.js',
'lib/internal/assert.js',
@@ -321,7 +322,10 @@
'src/node_main.cc'
],
- 'dependencies': [ 'deps/histogram/histogram.gyp:histogram' ],
+ 'dependencies': [
+ 'deps/histogram/histogram.gyp:histogram',
+ 'deps/uvwasi/uvwasi.gyp:uvwasi',
+ ],
'msvs_settings': {
'VCLinkerTool': {
@@ -495,7 +499,10 @@
'src',
'<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
],
- 'dependencies': [ 'deps/histogram/histogram.gyp:histogram' ],
+ 'dependencies': [
+ 'deps/histogram/histogram.gyp:histogram',
+ 'deps/uvwasi/uvwasi.gyp:uvwasi',
+ ],
'sources': [
'src/api/async_resource.cc',
@@ -560,6 +567,7 @@
'src/node_url.cc',
'src/node_util.cc',
'src/node_v8.cc',
+ 'src/node_wasi.cc',
'src/node_watchdog.cc',
'src/node_worker.cc',
'src/node_zlib.cc',
@@ -638,6 +646,7 @@
'src/node_url.h',
'src/node_version.h',
'src/node_v8_platform-inl.h',
+ 'src/node_wasi.h',
'src/node_watchdog.h',
'src/node_worker.h',
'src/pipe_wrap.h',
@@ -1072,6 +1081,7 @@
'dependencies': [
'<(node_lib_target_name)',
'deps/histogram/histogram.gyp:histogram',
+ 'deps/uvwasi/uvwasi.gyp:uvwasi',
'node_dtrace_header',
'node_dtrace_ustack',
'node_dtrace_provider',
@@ -1087,6 +1097,7 @@
'deps/v8/include',
'deps/cares/include',
'deps/uv/include',
+ 'deps/uvwasi/include',
'test/cctest',
],
@@ -1181,6 +1192,7 @@
'dependencies': [
'<(node_lib_target_name)',
'deps/histogram/histogram.gyp:histogram',
+ 'deps/uvwasi/uvwasi.gyp:uvwasi',
],
'includes': [
@@ -1193,6 +1205,7 @@
'deps/v8/include',
'deps/cares/include',
'deps/uv/include',
+ 'deps/uvwasi/include',
],
'defines': [
@@ -1224,6 +1237,7 @@
'dependencies': [
'<(node_lib_target_name)',
'deps/histogram/histogram.gyp:histogram',
+ 'deps/uvwasi/uvwasi.gyp:uvwasi',
],
'includes': [
@@ -1236,6 +1250,7 @@
'deps/v8/include',
'deps/cares/include',
'deps/uv/include',
+ 'deps/uvwasi/include',
],
'defines': [ 'NODE_WANT_INTERNALS=1' ],