GeezerVison is showing github.com — build: enable building with shared uvwasi lib · nodejs/node@eb2402d
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: configure.py +23Lines changed: 23 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 381 | 381 | dest='shared_openssl_libpath', | 382 | 382 | help='a directory to search for the shared OpenSSL DLLs') | 383 | 383 |
| | 384 | +shared_optgroup.add_argument('--shared-uvwasi', | | 385 | + action='store_true', | | 386 | + dest='shared_uvwasi', | | 387 | + default=None, | | 388 | + help='link to a shared uvwasi DLL instead of static linking') | | 389 | + | | 390 | +shared_optgroup.add_argument('--shared-uvwasi-includes', | | 391 | + action='store', | | 392 | + dest='shared_uvwasi_includes', | | 393 | + help='directory containing uvwasi header files') | | 394 | + | | 395 | +shared_optgroup.add_argument('--shared-uvwasi-libname', | | 396 | + action='store', | | 397 | + dest='shared_uvwasi_libname', | | 398 | + default='uvwasi', | | 399 | + help='alternative lib name to link to [default: %default]') | | 400 | + | | 401 | +shared_optgroup.add_argument('--shared-uvwasi-libpath', | | 402 | + action='store', | | 403 | + dest='shared_uvwasi_libpath', | | 404 | + help='a directory to search for the shared uvwasi DLL') | | 405 | + | 384 | 406 | shared_optgroup.add_argument('--shared-zlib', | 385 | 407 | action='store_true', | 386 | 408 | dest='shared_zlib', | @@ -2119,6 +2141,7 @@ def make_bin_override(): | 2119 | 2141 | configure_library('nghttp2', output, pkgname='libnghttp2') | 2120 | 2142 | configure_library('nghttp3', output, pkgname='libnghttp3') | 2121 | 2143 | configure_library('ngtcp2', output, pkgname='libngtcp2') | | 2144 | +configure_library('uvwasi', output, pkgname='libuvwasi') | 2122 | 2145 | configure_v8(output) | 2123 | 2146 | configure_openssl(output) | 2124 | 2147 | configure_intl(output) | |
Collapse file Copy file name to clipboardExpand all lines: node.gyp +3-8Lines changed: 3 additions & 8 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 19 | 19 | 'node_shared_http_parser%': 'false', | 20 | 20 | 'node_shared_cares%': 'false', | 21 | 21 | 'node_shared_libuv%': 'false', | | 22 | + 'node_shared_uvwasi%': 'false', | 22 | 23 | 'node_shared_nghttp2%': 'false', | 23 | 24 | 'node_use_openssl%': 'true', | 24 | 25 | 'node_shared_openssl%': 'false', | | 534 | 535 |
| 535 | 536 | 'dependencies': [ | 536 | 537 | 'deps/histogram/histogram.gyp:histogram', | 537 | | - 'deps/uvwasi/uvwasi.gyp:uvwasi', | 538 | 538 | ], | 539 | 539 |
| 540 | 540 | 'msvs_settings': { | | 1014 | 1014 | 'dependencies': [ | 1015 | 1015 | '<(node_lib_target_name)', | 1016 | 1016 | 'deps/histogram/histogram.gyp:histogram', | 1017 | | - 'deps/uvwasi/uvwasi.gyp:uvwasi', | 1018 | 1017 | ], | | 1018 | + | 1019 | 1019 | 'includes': [ | 1020 | 1020 | 'node.gypi' | 1021 | 1021 | ], | | 1025 | 1025 | 'deps/v8/include', | 1026 | 1026 | 'deps/cares/include', | 1027 | 1027 | 'deps/uv/include', | 1028 | | - 'deps/uvwasi/include', | 1029 | 1028 | 'test/cctest', | 1030 | 1029 | ], | | 1030 | + | 1031 | 1031 | 'defines': [ | 1032 | 1032 | 'NODE_ARCH="<(target_arch)"', | 1033 | 1033 | 'NODE_PLATFORM="<(OS)"', | | 1164 | 1164 | 'deps/v8/include', | 1165 | 1165 | 'deps/cares/include', | 1166 | 1166 | 'deps/uv/include', | 1167 | | - 'deps/uvwasi/include', | 1168 | 1167 | 'test/cctest', | 1169 | 1168 | ], | 1170 | 1169 |
| | 1226 | 1225 | 'dependencies': [ | 1227 | 1226 | '<(node_lib_target_name)', | 1228 | 1227 | 'deps/histogram/histogram.gyp:histogram', | 1229 | | - 'deps/uvwasi/uvwasi.gyp:uvwasi', | 1230 | 1228 | 'deps/ada/ada.gyp:ada', | 1231 | 1229 | ], | 1232 | 1230 |
| | 1241 | 1239 | 'deps/v8/include', | 1242 | 1240 | 'deps/cares/include', | 1243 | 1241 | 'deps/uv/include', | 1244 | | - 'deps/uvwasi/include', | 1245 | 1242 | 'test/embedding', | 1246 | 1243 | ], | 1247 | 1244 |
| | 1341 | 1338 | 'dependencies': [ | 1342 | 1339 | '<(node_lib_target_name)', | 1343 | 1340 | 'deps/histogram/histogram.gyp:histogram', | 1344 | | - 'deps/uvwasi/uvwasi.gyp:uvwasi', | 1345 | 1341 | 'deps/ada/ada.gyp:ada', | 1346 | 1342 | ], | 1347 | 1343 |
| | 1355 | 1351 | 'deps/v8/include', | 1356 | 1352 | 'deps/cares/include', | 1357 | 1353 | 'deps/uv/include', | 1358 | | - 'deps/uvwasi/include', | 1359 | 1354 | ], | 1360 | 1355 |
| 1361 | 1356 | 'defines': [ 'NODE_WANT_INTERNALS=1' ], | |
Collapse file Copy file name to clipboardExpand all lines: node.gypi +4Lines changed: 4 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 208 | 208 | ], | 209 | 209 | }], | 210 | 210 |
| | 211 | + [ 'node_shared_uvwasi=="false"', { | | 212 | + 'dependencies': [ 'deps/uvwasi/uvwasi.gyp:uvwasi' ], | | 213 | + }], | | 214 | + | 211 | 215 | [ 'node_shared_nghttp2=="false"', { | 212 | 216 | 'dependencies': [ 'deps/nghttp2/nghttp2.gyp:nghttp2' ], | 213 | 217 | }], | |
|