mirror of https://github.com/grpc/grpc-node.git
Make cares defines global
This commit is contained in:
parent
d601720e6c
commit
4d483a6e66
|
@ -94,7 +94,9 @@
|
||||||
'GPR_BACKWARDS_COMPATIBILITY_MODE',
|
'GPR_BACKWARDS_COMPATIBILITY_MODE',
|
||||||
'GRPC_ARES=1',
|
'GRPC_ARES=1',
|
||||||
'GRPC_UV',
|
'GRPC_UV',
|
||||||
'GRPC_NODE_VERSION="1.20.3"'
|
'GRPC_NODE_VERSION="1.20.3"',
|
||||||
|
'CARES_STATICLIB',
|
||||||
|
'CARES_SYMBOL_HIDING'
|
||||||
],
|
],
|
||||||
'defines!': [
|
'defines!': [
|
||||||
'OPENSSL_THREADS'
|
'OPENSSL_THREADS'
|
||||||
|
@ -619,9 +621,7 @@
|
||||||
'deps/grpc/third_party/cares/cares/windows_port.c',
|
'deps/grpc/third_party/cares/cares/windows_port.c',
|
||||||
],
|
],
|
||||||
'defines': [
|
'defines': [
|
||||||
'_GNU_SOURCE',
|
'_GNU_SOURCE'
|
||||||
'CARES_STATICLIB',
|
|
||||||
'CARES_SYMBOL_HIDING'
|
|
||||||
],
|
],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['OS == "mac"', {
|
['OS == "mac"', {
|
||||||
|
|
|
@ -86,7 +86,9 @@
|
||||||
'GPR_BACKWARDS_COMPATIBILITY_MODE',
|
'GPR_BACKWARDS_COMPATIBILITY_MODE',
|
||||||
'GRPC_ARES=1',
|
'GRPC_ARES=1',
|
||||||
'GRPC_UV',
|
'GRPC_UV',
|
||||||
'GRPC_NODE_VERSION="${settings.get('node_version', settings.version)}"'
|
'GRPC_NODE_VERSION="${settings.get('node_version', settings.version)}"',
|
||||||
|
'CARES_STATICLIB',
|
||||||
|
'CARES_SYMBOL_HIDING'
|
||||||
],
|
],
|
||||||
'defines!': [
|
'defines!': [
|
||||||
'OPENSSL_THREADS'
|
'OPENSSL_THREADS'
|
||||||
|
@ -292,9 +294,7 @@
|
||||||
% endfor
|
% endfor
|
||||||
],
|
],
|
||||||
'defines': [
|
'defines': [
|
||||||
'_GNU_SOURCE',
|
'_GNU_SOURCE'
|
||||||
'CARES_STATICLIB',
|
|
||||||
'CARES_SYMBOL_HIDING'
|
|
||||||
],
|
],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['OS == "mac"', {
|
['OS == "mac"', {
|
||||||
|
|
Loading…
Reference in New Issue