Make cares defines global

This commit is contained in:
murgatroid99 2019-05-15 11:21:57 -07:00
parent d601720e6c
commit 4d483a6e66
2 changed files with 8 additions and 8 deletions

View File

@ -94,7 +94,9 @@
'GPR_BACKWARDS_COMPATIBILITY_MODE',
'GRPC_ARES=1',
'GRPC_UV',
'GRPC_NODE_VERSION="1.20.3"'
'GRPC_NODE_VERSION="1.20.3"',
'CARES_STATICLIB',
'CARES_SYMBOL_HIDING'
],
'defines!': [
'OPENSSL_THREADS'
@ -619,9 +621,7 @@
'deps/grpc/third_party/cares/cares/windows_port.c',
],
'defines': [
'_GNU_SOURCE',
'CARES_STATICLIB',
'CARES_SYMBOL_HIDING'
'_GNU_SOURCE'
],
'conditions': [
['OS == "mac"', {

View File

@ -86,7 +86,9 @@
'GPR_BACKWARDS_COMPATIBILITY_MODE',
'GRPC_ARES=1',
'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!': [
'OPENSSL_THREADS'
@ -292,9 +294,7 @@
% endfor
],
'defines': [
'_GNU_SOURCE',
'CARES_STATICLIB',
'CARES_SYMBOL_HIDING'
'_GNU_SOURCE'
],
'conditions': [
['OS == "mac"', {