aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/binding.gyp.template
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2017-04-24 13:35:21 -0700
committerGravatar murgatroid99 <mlumish@google.com>2017-04-24 13:35:21 -0700
commitf94f64fc12d4bed8c1920f9ab0564503c7eff098 (patch)
tree544d9f67b4cd8792c65319be8fdf5d2bbfe2a565 /templates/binding.gyp.template
parent59fe8e224620f6d7ef0f11d35a03cb7a362be176 (diff)
Remove non-libuv code from Node extension
Diffstat (limited to 'templates/binding.gyp.template')
-rw-r--r--templates/binding.gyp.template15
1 files changed, 3 insertions, 12 deletions
diff --git a/templates/binding.gyp.template b/templates/binding.gyp.template
index bbd62c5512..933174ab6e 100644
--- a/templates/binding.gyp.template
+++ b/templates/binding.gyp.template
@@ -41,9 +41,6 @@
{
'variables': {
'runtime%': 'node',
- # UV integration in C core is enabled by default. It can be disabled
- # by setting this argument to anything else.
- 'grpc_uv%': 'true',
# Some Node installations use the system installation of OpenSSL, and on
# some systems, the system OpenSSL still does not have ALPN support. This
# will let users recompile gRPC to work without ALPN.
@@ -87,17 +84,11 @@
'include'
],
'defines': [
- 'GPR_BACKWARDS_COMPATIBILITY_MODE'
+ 'GPR_BACKWARDS_COMPATIBILITY_MODE',
+ 'GRPC_ARES=0',
+ 'GRPC_UV'
],
'conditions': [
- ['grpc_uv=="true"', {
- 'defines': [
- 'GRPC_ARES=0',
- # Disabling this while bugs are ironed out. Uncomment this to
- # re-enable libuv integration in C core.
- 'GRPC_UV'
- ]
- }],
['grpc_gcov=="true"', {
% for arg, prop in [('CPPFLAGS', 'cflags'), ('DEFINES', 'defines'), ('LDFLAGS', 'ldflags')]:
% if configs['gcov'].get(arg, None) is not None: