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

75 lines
1.9 KiB
Diff
Raw Normal View History

diff -u -r ../node-v9.7.1/node.gyp ./node.gyp
--- ../node-v9.7.1/node.gyp 2018-03-02 01:58:17.000000000 +0000
+++ ./node.gyp 2018-03-05 10:52:38.637165269 +0000
@@ -901,70 +901,6 @@
2017-01-09 23:30:11 +01:00
],
} ],
]
- },
- {
- 'target_name': 'cctest',
- 'type': 'executable',
-
- 'dependencies': [
- '<(node_lib_target_name)',
- 'rename_node_bin_win',
- 'deps/gtest/gtest.gyp:gtest',
- 'node_js2c#host',
- 'node_dtrace_header',
- 'node_dtrace_ustack',
- 'node_dtrace_provider',
- ],
-
- 'includes': [
- 'node.gypi'
- ],
-
2017-01-09 23:30:11 +01:00
- 'include_dirs': [
- 'src',
- 'tools/msvs/genfiles',
2017-01-09 23:30:11 +01:00
- 'deps/v8/include',
- 'deps/cares/include',
- 'deps/uv/include',
- '<(SHARED_INTERMEDIATE_DIR)', # for node_natives.h
- ],
-
- 'defines': [ 'NODE_WANT_INTERNALS=1' ],
-
2017-01-09 23:30:11 +01:00
- 'sources': [
- 'test/cctest/node_test_fixture.cc',
- 'test/cctest/test_aliased_buffer.cc',
- 'test/cctest/test_base64.cc',
- 'test/cctest/test_node_postmortem_metadata.cc',
- 'test/cctest/test_environment.cc',
- 'test/cctest/test_util.cc',
- 'test/cctest/test_url.cc'
- ],
-
2017-01-09 23:30:11 +01:00
- 'conditions': [
- [ 'node_use_openssl=="true"', {
- 'defines': [
- 'HAVE_OPENSSL=1',
- ],
- }],
- [ 'node_use_perfctr=="true"', {
- 'defines': [ 'HAVE_PERFCTR=1' ],
- }],
- ['v8_enable_inspector==1', {
2017-01-09 23:30:11 +01:00
- 'sources': [
- 'test/cctest/test_inspector_socket.cc',
- 'test/cctest/test_inspector_socket_server.cc'
- ],
- 'defines': [
- 'HAVE_INSPECTOR=1',
- ],
- }, {
- 'defines': [ 'HAVE_INSPECTOR=0' ]
- }],
- ['OS=="solaris"', {
- 'ldflags': [ '-I<(SHARED_INTERMEDIATE_DIR)' ]
- }],
- ],
2017-01-09 23:30:11 +01:00
}
], # end targets