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

70 lines
2.0 KiB
Diff

diff -u -r ../node-v6.3.1/node.gyp ./node.gyp
--- ../node-v6.3.1/node.gyp 2016-07-21 16:44:43.000000000 -0400
+++ ./node.gyp 2016-07-23 14:03:01.349959957 -0400
@@ -808,65 +808,6 @@
],
} ],
]
- },
- {
- 'target_name': 'cctest',
- 'type': 'executable',
- 'dependencies': [ 'deps/gtest/gtest.gyp:gtest' ],
- 'include_dirs': [
- 'src',
- 'deps/v8/include'
- ],
- 'defines': [
- # gtest's ASSERT macros conflict with our own.
- 'GTEST_DONT_DEFINE_ASSERT_EQ=1',
- 'GTEST_DONT_DEFINE_ASSERT_GE=1',
- 'GTEST_DONT_DEFINE_ASSERT_GT=1',
- 'GTEST_DONT_DEFINE_ASSERT_LE=1',
- 'GTEST_DONT_DEFINE_ASSERT_LT=1',
- 'GTEST_DONT_DEFINE_ASSERT_NE=1',
- 'NODE_WANT_INTERNALS=1',
- ],
- 'sources': [
- 'test/cctest/util.cc',
- ],
-
- 'conditions': [
- ['v8_inspector=="true"', {
- 'sources': [
- 'src/inspector_socket.cc',
- 'test/cctest/test_inspector_socket.cc'
- ],
- 'conditions': [
- [ 'node_shared_openssl=="false"', {
- 'dependencies': [
- 'deps/openssl/openssl.gyp:openssl'
- ]
- }],
- [ 'node_shared_http_parser=="false"', {
- 'dependencies': [
- 'deps/http_parser/http_parser.gyp:http_parser'
- ]
- }],
- [ 'node_shared_libuv=="false"', {
- 'dependencies': [
- 'deps/uv/uv.gyp:libuv'
- ]
- }]
- ]
- }],
- [ 'node_use_v8_platform=="true"', {
- 'dependencies': [
- 'deps/v8/tools/gyp/v8.gyp:v8_libplatform',
- ],
- }],
- [ 'node_use_bundled_v8=="true"', {
- 'dependencies': [
- 'deps/v8/tools/gyp/v8.gyp:v8',
- 'deps/v8/tools/gyp/v8.gyp:v8_libplatform'
- ],
- }],
- ]
}
], # end targets