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

83 lines
2.4 KiB
Diff
Raw Normal View History

2017-01-09 23:30:11 +01:00
diff -u -r ../node-v7.4.0/node.gyp ./node.gyp
--- ../node-v7.4.0/node.gyp 2017-01-04 12:42:03.000000000 -0500
+++ ./node.gyp 2017-01-09 17:25:27.918417691 -0500
@@ -863,78 +863,6 @@
],
} ],
]
- },
- {
- 'target_name': 'cctest',
- 'type': 'executable',
- 'dependencies': [ 'deps/gtest/gtest.gyp:gtest' ],
- 'include_dirs': [
- 'src',
- 'deps/v8/include',
- '<(SHARED_INTERMEDIATE_DIR)'
- ],
- '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"', {
- 'defines': [
- 'HAVE_INSPECTOR=1',
- ],
- 'dependencies': [
- 'deps/zlib/zlib.gyp:zlib',
- 'v8_inspector_compress_protocol_json#host'
- ],
- 'include_dirs': [
- '<(SHARED_INTERMEDIATE_DIR)'
- ],
- 'sources': [
- 'src/inspector_socket.cc',
- 'src/inspector_socket_server.cc',
- 'test/cctest/test_inspector_socket.cc',
- 'test/cctest/test_inspector_socket_server.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/src/v8.gyp:v8_libplatform',
- ],
- }],
- [ 'node_use_bundled_v8=="true"', {
- 'dependencies': [
- 'deps/v8/src/v8.gyp:v8',
- 'deps/v8/src/v8.gyp:v8_libplatform'
- ],
- }],
- ]
}
], # end targets