mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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>
This commit is contained in:
22
node.gyp
22
node.gyp
@@ -826,14 +826,26 @@
|
||||
|
||||
'conditions': [
|
||||
['v8_inspector=="true"', {
|
||||
'dependencies': [
|
||||
'deps/openssl/openssl.gyp:openssl',
|
||||
'deps/http_parser/http_parser.gyp:http_parser',
|
||||
'deps/uv/uv.gyp:libuv'
|
||||
],
|
||||
'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"', {
|
||||
|
||||
Reference in New Issue
Block a user