Browse Source

build: respect --shared-* flags for inspector deps

Don't build openssl/http_parser/libuv for v8_inspector if corresponding
--shared-* flags were passed to the ./configure script.

Fixes: https://github.com/nodejs/node/issues/7478
Fixes: https://github.com/nodejs/node/issues/7583
PR-URL: https://github.com/nodejs/node/pull/7569
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
v6.x
Сковорода Никита Андреевич 9 years ago
committed by Evan Lucas
parent
commit
933ff62fa5
  1. 22
      node.gyp

22
node.gyp

@ -830,14 +830,26 @@
'conditions': [ 'conditions': [
['v8_inspector=="true"', { ['v8_inspector=="true"', {
'dependencies': [
'deps/openssl/openssl.gyp:openssl',
'deps/http_parser/http_parser.gyp:http_parser',
'deps/uv/uv.gyp:libuv'
],
'sources': [ 'sources': [
'src/inspector_socket.cc', 'src/inspector_socket.cc',
'test/cctest/test_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"', { [ 'node_use_v8_platform=="true"', {

Loading…
Cancel
Save