termux-packages/packages/nodejs/node.gyp.patch

107 lines
2.9 KiB
Diff
Raw Normal View History

2019-02-15 23:37:40 +01:00
diff -u -r ../node-v11.10.0/node.gyp ./node.gyp
--- ../node-v11.10.0/node.gyp 2019-02-14 21:22:48.000000000 +0000
+++ ./node.gyp 2019-02-15 22:25:29.851808043 +0000
@@ -963,101 +963,7 @@
],
} ],
]
2018-10-14 20:30:58 +02:00
- }, # rename_node_bin_win
- {
- 'target_name': 'cctest',
- 'type': 'executable',
2017-08-08 11:13:36 +02:00
-
- 'dependencies': [
- '<(node_lib_target_name)',
2018-05-18 03:35:09 +02:00
- 'rename_node_bin_win',
2017-08-08 11:13:36 +02:00
- 'deps/gtest/gtest.gyp:gtest',
2019-02-15 23:37:40 +01:00
- 'deps/histogram/histogram.gyp:histogram',
2017-08-08 11:13:36 +02:00
- 'node_dtrace_header',
- 'node_dtrace_ustack',
- 'node_dtrace_provider',
- ],
-
- 'includes': [
- 'node.gypi'
- ],
-
- 'include_dirs': [
- 'src',
2017-08-08 11:13:36 +02:00
- 'tools/msvs/genfiles',
- 'deps/v8/include',
- 'deps/cares/include',
- 'deps/uv/include',
- '<(SHARED_INTERMEDIATE_DIR)', # for node_natives.h
- ],
2017-08-08 11:13:36 +02:00
-
2017-11-01 20:18:56 +01:00
- 'defines': [ 'NODE_WANT_INTERNALS=1' ],
2017-08-08 11:13:36 +02:00
-
- 'sources': [
2017-11-01 20:18:56 +01:00
- 'test/cctest/node_test_fixture.cc',
- 'test/cctest/test_aliased_buffer.cc',
2017-08-08 11:13:36 +02:00
- 'test/cctest/test_base64.cc',
- 'test/cctest/test_node_postmortem_metadata.cc',
2017-11-01 20:18:56 +01:00
- 'test/cctest/test_environment.cc',
- 'test/cctest/test_platform.cc',
2019-02-04 00:57:19 +01:00
- 'test/cctest/test_report_util.cc',
- 'test/cctest/test_traced_value.cc',
2017-08-08 11:13:36 +02:00
- 'test/cctest/test_util.cc',
2017-11-01 20:18:56 +01:00
- 'test/cctest/test_url.cc'
2017-08-08 11:13:36 +02:00
- ],
-
2016-07-15 17:58:32 +02:00
- 'conditions': [
2018-01-21 21:07:10 +01:00
- [ 'node_use_openssl=="true"', {
- 'defines': [
- 'HAVE_OPENSSL=1',
2017-11-01 20:18:56 +01:00
- ],
- }],
- ['v8_enable_inspector==1', {
2016-07-15 17:58:32 +02:00
- 'sources': [
2017-08-08 11:13:36 +02:00
- 'test/cctest/test_inspector_socket.cc',
2017-11-01 20:18:56 +01:00
- 'test/cctest/test_inspector_socket_server.cc'
2016-07-23 21:48:29 +02:00
- ],
2018-01-21 21:07:10 +01:00
- 'defines': [
- 'HAVE_INSPECTOR=1',
- ],
2018-05-18 03:35:09 +02:00
- }, {
- 'defines': [ 'HAVE_INSPECTOR=0' ]
2018-01-21 21:07:10 +01:00
- }],
2017-08-08 11:13:36 +02:00
- ['OS=="solaris"', {
- 'ldflags': [ '-I<(SHARED_INTERMEDIATE_DIR)' ]
2016-07-15 17:58:32 +02:00
- }],
2018-09-22 00:22:40 +02:00
- # Skip cctest while building shared lib node for Windows
- [ 'OS=="win" and node_shared=="true"', {
- 'type': 'none',
- }],
2018-10-14 20:30:58 +02:00
- [ 'node_shared=="true"', {
- 'xcode_settings': {
- 'OTHER_LDFLAGS': [ '-Wl,-rpath,@loader_path', ],
- },
- }],
2019-01-27 09:46:00 +01:00
- [ 'node_report=="true"', {
- 'defines': [
- 'NODE_REPORT',
- 'NODE_ARCH="<(target_arch)"',
- 'NODE_PLATFORM="<(OS)"',
- ],
- 'conditions': [
- ['OS=="win"', {
- 'libraries': [
- 'dbghelp.lib',
- 'PsApi.lib',
- 'Ws2_32.lib',
- ],
- 'dll_files': [
- 'dbghelp.dll',
- 'PsApi.dll',
- 'Ws2_32.dll',
- ],
- }],
- ],
- }],
- ],
2018-10-14 20:30:58 +02:00
- }, # cctest
+ } # rename_node_bin_win
], # end targets
2018-10-14 20:30:58 +02:00
'conditions': [