chiark / gitweb /
Add nodejs-current as disabled package
[termux-packages] / disabled-packages / nodejs-current / node.gyp.patch
1 diff -u -r ../node-v7.4.0/node.gyp ./node.gyp
2 --- ../node-v7.4.0/node.gyp     2017-01-04 12:42:03.000000000 -0500
3 +++ ./node.gyp  2017-01-09 17:25:27.918417691 -0500
4 @@ -863,78 +863,6 @@
5            ],
6          } ],
7        ]
8 -    },
9 -    {
10 -      'target_name': 'cctest',
11 -      'type': 'executable',
12 -      'dependencies': [ 'deps/gtest/gtest.gyp:gtest' ],
13 -      'include_dirs': [
14 -        'src',
15 -        'deps/v8/include',
16 -        '<(SHARED_INTERMEDIATE_DIR)'
17 -      ],
18 -      'defines': [
19 -        # gtest's ASSERT macros conflict with our own.
20 -        'GTEST_DONT_DEFINE_ASSERT_EQ=1',
21 -        'GTEST_DONT_DEFINE_ASSERT_GE=1',
22 -        'GTEST_DONT_DEFINE_ASSERT_GT=1',
23 -        'GTEST_DONT_DEFINE_ASSERT_LE=1',
24 -        'GTEST_DONT_DEFINE_ASSERT_LT=1',
25 -        'GTEST_DONT_DEFINE_ASSERT_NE=1',
26 -        'NODE_WANT_INTERNALS=1',
27 -      ],
28 -      'sources': [
29 -        'test/cctest/util.cc',
30 -      ],
31 -
32 -      'conditions': [
33 -        ['v8_inspector=="true"', {
34 -          'defines': [
35 -            'HAVE_INSPECTOR=1',
36 -          ],
37 -          'dependencies': [
38 -            'deps/zlib/zlib.gyp:zlib',
39 -            'v8_inspector_compress_protocol_json#host'
40 -          ],
41 -          'include_dirs': [
42 -            '<(SHARED_INTERMEDIATE_DIR)'
43 -          ],
44 -          'sources': [
45 -            'src/inspector_socket.cc',
46 -            'src/inspector_socket_server.cc',
47 -            'test/cctest/test_inspector_socket.cc',
48 -            'test/cctest/test_inspector_socket_server.cc'
49 -          ],
50 -          'conditions': [
51 -            [ 'node_shared_openssl=="false"', {
52 -              'dependencies': [
53 -                'deps/openssl/openssl.gyp:openssl'
54 -              ]
55 -            }],
56 -            [ 'node_shared_http_parser=="false"', {
57 -              'dependencies': [
58 -                'deps/http_parser/http_parser.gyp:http_parser'
59 -              ]
60 -            }],
61 -            [ 'node_shared_libuv=="false"', {
62 -              'dependencies': [
63 -                'deps/uv/uv.gyp:libuv'
64 -              ]
65 -            }]
66 -          ]
67 -        }],
68 -        [ 'node_use_v8_platform=="true"', {
69 -          'dependencies': [
70 -            'deps/v8/src/v8.gyp:v8_libplatform',
71 -          ],
72 -        }],
73 -        [ 'node_use_bundled_v8=="true"', {
74 -          'dependencies': [
75 -            'deps/v8/src/v8.gyp:v8',
76 -            'deps/v8/src/v8.gyp:v8_libplatform'
77 -          ],
78 -        }],
79 -      ]
80      }
81    ], # end targets
82