diff options
author | murgatroid99 <mlumish@google.com> | 2017-04-24 13:35:21 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2017-04-24 13:35:21 -0700 |
commit | f94f64fc12d4bed8c1920f9ab0564503c7eff098 (patch) | |
tree | 544d9f67b4cd8792c65319be8fdf5d2bbfe2a565 /binding.gyp | |
parent | 59fe8e224620f6d7ef0f11d35a03cb7a362be176 (diff) |
Remove non-libuv code from Node extension
Diffstat (limited to 'binding.gyp')
-rw-r--r-- | binding.gyp | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/binding.gyp b/binding.gyp index e3b2a925a3..a449730d21 100644 --- a/binding.gyp +++ b/binding.gyp @@ -39,9 +39,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. @@ -90,17 +87,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"', { 'cflags': [ '-O0', @@ -949,13 +940,10 @@ "src/node/ext/call_credentials.cc", "src/node/ext/channel.cc", "src/node/ext/channel_credentials.cc", - "src/node/ext/completion_queue_threadpool.cc", - "src/node/ext/completion_queue_uv.cc", + "src/node/ext/completion_queue.cc", "src/node/ext/node_grpc.cc", "src/node/ext/server.cc", "src/node/ext/server_credentials.cc", - "src/node/ext/server_generic.cc", - "src/node/ext/server_uv.cc", "src/node/ext/slice.cc", "src/node/ext/timeval.cc", ], |