wearefair-grpc 1.3.1.pre.c → 1.4.0.fair

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +418 -126
  3. data/include/grpc/grpc.h +15 -69
  4. data/include/grpc/grpc_security.h +1 -1
  5. data/include/grpc/impl/codegen/compression_types.h +3 -4
  6. data/include/grpc/impl/codegen/gpr_types.h +0 -1
  7. data/include/grpc/impl/codegen/grpc_types.h +69 -3
  8. data/include/grpc/impl/codegen/port_platform.h +6 -0
  9. data/include/grpc/impl/codegen/slice.h +2 -1
  10. data/include/grpc/load_reporting.h +6 -6
  11. data/include/grpc/slice.h +25 -3
  12. data/include/grpc/slice_buffer.h +4 -0
  13. data/src/core/ext/census/context.c +1 -1
  14. data/src/core/ext/census/resource.c +3 -1
  15. data/src/core/ext/filters/client_channel/channel_connectivity.c +1 -1
  16. data/src/core/ext/filters/client_channel/client_channel.c +158 -100
  17. data/src/core/ext/filters/client_channel/client_channel_plugin.c +3 -2
  18. data/src/core/ext/filters/client_channel/lb_policy.c +2 -1
  19. data/src/core/ext/filters/client_channel/lb_policy.h +5 -6
  20. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c +153 -0
  21. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +42 -0
  22. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c +344 -88
  23. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c +133 -0
  24. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +65 -0
  25. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c +47 -5
  26. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +6 -0
  27. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c +19 -8
  28. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h +63 -34
  29. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c +2 -1
  30. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c +13 -12
  31. data/src/core/ext/filters/client_channel/lb_policy_factory.c +28 -5
  32. data/src/core/ext/filters/client_channel/lb_policy_factory.h +18 -4
  33. data/src/core/ext/filters/client_channel/parse_address.c +37 -7
  34. data/src/core/ext/filters/client_channel/parse_address.h +11 -8
  35. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c +3 -3
  36. data/src/core/ext/filters/client_channel/subchannel.c +19 -16
  37. data/src/core/ext/filters/client_channel/subchannel.h +1 -0
  38. data/src/core/ext/filters/client_channel/uri_parser.c +36 -22
  39. data/src/core/ext/filters/client_channel/uri_parser.h +1 -1
  40. data/src/core/{lib/channel → ext/filters/deadline}/deadline_filter.c +42 -17
  41. data/src/core/{lib/channel → ext/filters/deadline}/deadline_filter.h +8 -9
  42. data/src/core/{lib/channel → ext/filters/http/client}/http_client_filter.c +19 -11
  43. data/src/core/{lib/channel → ext/filters/http/client}/http_client_filter.h +3 -6
  44. data/src/core/ext/filters/http/http_filters_plugin.c +104 -0
  45. data/src/core/{lib/channel/compress_filter.c → ext/filters/http/message_compress/message_compress_filter.c} +124 -23
  46. data/src/core/{lib/channel/compress_filter.h → ext/filters/http/message_compress/message_compress_filter.h} +5 -6
  47. data/src/core/{lib/channel → ext/filters/http/server}/http_server_filter.c +4 -6
  48. data/src/core/{lib/channel → ext/filters/http/server}/http_server_filter.h +3 -3
  49. data/src/core/ext/filters/load_reporting/load_reporting.c +2 -25
  50. data/src/core/ext/filters/load_reporting/load_reporting_filter.c +26 -1
  51. data/src/core/ext/filters/max_age/max_age_filter.c +14 -14
  52. data/src/core/{lib/channel → ext/filters/message_size}/message_size_filter.c +91 -47
  53. data/src/core/{lib/channel → ext/filters/message_size}/message_size_filter.h +3 -3
  54. data/src/core/ext/transport/chttp2/client/insecure/channel_create.c +1 -1
  55. data/src/core/ext/transport/chttp2/server/chttp2_server.c +2 -2
  56. data/src/core/ext/transport/chttp2/transport/bin_decoder.c +2 -2
  57. data/src/core/ext/transport/chttp2/transport/bin_encoder.c +3 -3
  58. data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +296 -172
  59. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +3 -2
  60. data/src/core/ext/transport/chttp2/transport/frame_data.c +203 -164
  61. data/src/core/ext/transport/chttp2/transport/frame_data.h +8 -14
  62. data/src/core/ext/transport/chttp2/transport/frame_goaway.c +1 -1
  63. data/src/core/ext/transport/chttp2/transport/frame_ping.c +1 -1
  64. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +1 -1
  65. data/src/core/ext/transport/chttp2/transport/frame_settings.c +5 -5
  66. data/src/core/ext/transport/chttp2/transport/frame_window_update.c +1 -1
  67. data/src/core/ext/transport/chttp2/transport/hpack_encoder.c +4 -4
  68. data/src/core/ext/transport/chttp2/transport/hpack_parser.c +2 -4
  69. data/src/core/ext/transport/chttp2/transport/hpack_table.c +4 -3
  70. data/src/core/ext/transport/chttp2/transport/internal.h +50 -33
  71. data/src/core/ext/transport/chttp2/transport/parsing.c +10 -11
  72. data/src/core/ext/transport/chttp2/transport/writing.c +32 -13
  73. data/src/core/lib/channel/channel_args.c +28 -9
  74. data/src/core/lib/channel/channel_args.h +5 -1
  75. data/src/core/lib/channel/channel_stack.c +1 -1
  76. data/src/core/lib/channel/channel_stack.h +2 -2
  77. data/src/core/lib/channel/channel_stack_builder.c +13 -1
  78. data/src/core/lib/channel/channel_stack_builder.h +5 -1
  79. data/src/core/lib/channel/connected_channel.c +3 -1
  80. data/src/core/lib/channel/context.h +2 -2
  81. data/src/core/lib/compression/message_compress.c +2 -2
  82. data/src/core/lib/debug/trace.c +13 -6
  83. data/src/core/lib/debug/trace.h +27 -1
  84. data/src/core/lib/http/httpcli.c +1 -1
  85. data/src/core/lib/http/httpcli_security_connector.c +6 -10
  86. data/src/core/lib/http/parser.c +2 -2
  87. data/src/core/lib/http/parser.h +2 -1
  88. data/src/core/lib/iomgr/combiner.c +6 -6
  89. data/src/core/lib/iomgr/combiner.h +2 -1
  90. data/src/core/lib/iomgr/error.c +12 -5
  91. data/src/core/lib/iomgr/error.h +13 -13
  92. data/src/core/lib/iomgr/ev_epoll1_linux.c +984 -0
  93. data/src/core/lib/iomgr/ev_epoll1_linux.h +44 -0
  94. data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c +2146 -0
  95. data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.h +43 -0
  96. data/src/core/lib/iomgr/ev_epoll_thread_pool_linux.c +1337 -0
  97. data/src/core/lib/iomgr/ev_epoll_thread_pool_linux.h +43 -0
  98. data/src/core/lib/iomgr/ev_epollex_linux.c +1511 -0
  99. data/src/core/lib/iomgr/ev_epollex_linux.h +43 -0
  100. data/src/core/lib/iomgr/{ev_epoll_linux.c → ev_epollsig_linux.c} +24 -31
  101. data/src/core/lib/iomgr/{ev_epoll_linux.h → ev_epollsig_linux.h} +4 -4
  102. data/src/core/lib/iomgr/ev_poll_posix.c +12 -27
  103. data/src/core/lib/iomgr/ev_poll_posix.h +2 -2
  104. data/src/core/lib/iomgr/ev_posix.c +22 -8
  105. data/src/core/lib/iomgr/ev_posix.h +4 -3
  106. data/src/core/lib/iomgr/exec_ctx.c +5 -0
  107. data/src/core/lib/iomgr/exec_ctx.h +2 -0
  108. data/src/core/lib/iomgr/iomgr.c +4 -0
  109. data/src/core/lib/iomgr/iomgr.h +3 -0
  110. data/src/core/lib/iomgr/is_epollexclusive_available.c +116 -0
  111. data/src/core/lib/iomgr/is_epollexclusive_available.h +41 -0
  112. data/src/core/lib/iomgr/lockfree_event.c +16 -0
  113. data/src/core/lib/iomgr/pollset.h +2 -5
  114. data/src/core/lib/iomgr/pollset_uv.c +1 -1
  115. data/src/core/lib/iomgr/pollset_windows.c +3 -3
  116. data/src/core/lib/iomgr/resource_quota.c +9 -8
  117. data/src/core/lib/iomgr/resource_quota.h +2 -1
  118. data/src/core/lib/iomgr/sockaddr_utils.h +1 -1
  119. data/src/core/lib/iomgr/socket_mutator.h +2 -0
  120. data/src/core/lib/iomgr/sys_epoll_wrapper.h +43 -0
  121. data/src/core/lib/iomgr/tcp_client_posix.c +6 -6
  122. data/src/core/lib/iomgr/tcp_client_uv.c +3 -3
  123. data/src/core/lib/iomgr/tcp_posix.c +7 -7
  124. data/src/core/lib/iomgr/tcp_posix.h +2 -1
  125. data/src/core/lib/iomgr/tcp_server_posix.c +1 -1
  126. data/src/core/lib/iomgr/tcp_uv.c +6 -6
  127. data/src/core/lib/iomgr/tcp_uv.h +2 -1
  128. data/src/core/lib/iomgr/tcp_windows.c +1 -1
  129. data/src/core/lib/iomgr/timer_generic.c +24 -25
  130. data/src/core/lib/iomgr/timer_manager.c +276 -0
  131. data/src/core/lib/iomgr/timer_manager.h +52 -0
  132. data/src/core/lib/iomgr/timer_uv.c +6 -0
  133. data/src/core/lib/iomgr/udp_server.c +42 -9
  134. data/src/core/lib/iomgr/udp_server.h +3 -1
  135. data/src/core/lib/security/credentials/credentials.c +0 -1
  136. data/src/core/lib/security/credentials/fake/fake_credentials.c +23 -0
  137. data/src/core/lib/security/credentials/fake/fake_credentials.h +12 -9
  138. data/src/core/lib/security/credentials/google_default/google_default_credentials.c +1 -1
  139. data/src/core/lib/security/credentials/jwt/jwt_credentials.c +1 -1
  140. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +1 -1
  141. data/src/core/lib/security/credentials/ssl/ssl_credentials.c +24 -53
  142. data/src/core/lib/security/transport/client_auth_filter.c +9 -3
  143. data/src/core/lib/security/transport/secure_endpoint.c +7 -7
  144. data/src/core/lib/security/transport/secure_endpoint.h +1 -1
  145. data/src/core/lib/security/transport/security_connector.c +32 -51
  146. data/src/core/lib/security/transport/security_connector.h +10 -14
  147. data/src/core/lib/slice/b64.c +1 -1
  148. data/src/core/lib/slice/percent_encoding.c +3 -3
  149. data/src/core/lib/slice/slice.c +66 -33
  150. data/src/core/lib/slice/slice_buffer.c +25 -6
  151. data/src/core/lib/slice/slice_hash_table.c +33 -35
  152. data/src/core/lib/slice/slice_hash_table.h +7 -12
  153. data/src/core/lib/support/atomic.h +45 -0
  154. data/src/core/lib/support/atomic_with_atm.h +70 -0
  155. data/src/core/lib/support/atomic_with_std.h +48 -0
  156. data/src/core/lib/support/avl.c +14 -14
  157. data/src/core/lib/support/memory.h +74 -0
  158. data/src/core/lib/support/mpscq.c +12 -1
  159. data/src/core/lib/support/mpscq.h +4 -0
  160. data/src/core/lib/support/stack_lockfree.c +3 -36
  161. data/src/core/lib/support/time_posix.c +8 -0
  162. data/src/core/lib/support/tmpfile_posix.c +10 -10
  163. data/src/core/lib/surface/alarm.c +3 -1
  164. data/src/core/lib/surface/api_trace.c +2 -1
  165. data/src/core/lib/surface/api_trace.h +2 -2
  166. data/src/core/lib/surface/byte_buffer_reader.c +1 -1
  167. data/src/core/lib/surface/call.c +65 -22
  168. data/src/core/lib/surface/call.h +4 -2
  169. data/src/core/lib/surface/channel_init.c +2 -19
  170. data/src/core/lib/surface/channel_stack_type.c +18 -0
  171. data/src/core/lib/surface/channel_stack_type.h +2 -0
  172. data/src/core/lib/surface/completion_queue.c +249 -83
  173. data/src/core/lib/surface/completion_queue.h +18 -13
  174. data/src/core/lib/surface/completion_queue_factory.c +24 -9
  175. data/src/core/lib/surface/init.c +1 -52
  176. data/src/core/lib/surface/{lame_client.c → lame_client.cc} +37 -26
  177. data/src/core/lib/surface/server.c +50 -27
  178. data/src/core/lib/surface/server.h +2 -1
  179. data/src/core/lib/surface/version.c +2 -2
  180. data/src/core/lib/transport/bdp_estimator.c +20 -9
  181. data/src/core/lib/transport/bdp_estimator.h +5 -1
  182. data/src/core/lib/transport/byte_stream.c +23 -9
  183. data/src/core/lib/transport/byte_stream.h +15 -6
  184. data/src/core/lib/transport/connectivity_state.c +6 -6
  185. data/src/core/lib/transport/connectivity_state.h +2 -1
  186. data/src/core/lib/transport/service_config.c +6 -13
  187. data/src/core/lib/transport/service_config.h +2 -2
  188. data/src/core/lib/transport/static_metadata.c +403 -389
  189. data/src/core/lib/transport/static_metadata.h +127 -114
  190. data/src/core/plugin_registry/grpc_plugin_registry.c +12 -0
  191. data/src/core/tsi/fake_transport_security.c +5 -4
  192. data/src/core/tsi/ssl_transport_security.c +71 -82
  193. data/src/core/tsi/ssl_transport_security.h +39 -61
  194. data/src/core/tsi/transport_security.c +83 -2
  195. data/src/core/tsi/transport_security.h +27 -2
  196. data/src/core/tsi/transport_security_adapter.c +236 -0
  197. data/src/core/tsi/transport_security_adapter.h +62 -0
  198. data/src/core/tsi/transport_security_interface.h +179 -66
  199. data/src/ruby/ext/grpc/extconf.rb +2 -1
  200. data/src/ruby/ext/grpc/rb_byte_buffer.c +8 -6
  201. data/src/ruby/ext/grpc/rb_call.c +56 -48
  202. data/src/ruby/ext/grpc/rb_call.h +3 -4
  203. data/src/ruby/ext/grpc/rb_call_credentials.c +23 -22
  204. data/src/ruby/ext/grpc/rb_channel.c +45 -29
  205. data/src/ruby/ext/grpc/rb_channel_args.c +11 -9
  206. data/src/ruby/ext/grpc/rb_channel_credentials.c +16 -12
  207. data/src/ruby/ext/grpc/rb_completion_queue.c +7 -9
  208. data/src/ruby/ext/grpc/rb_compression_options.c +7 -6
  209. data/src/ruby/ext/grpc/rb_event_thread.c +10 -12
  210. data/src/ruby/ext/grpc/rb_event_thread.h +1 -2
  211. data/src/ruby/ext/grpc/rb_grpc.c +11 -15
  212. data/src/ruby/ext/grpc/rb_grpc.h +2 -2
  213. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +14 -6
  214. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +22 -10
  215. data/src/ruby/ext/grpc/rb_server.c +26 -28
  216. data/src/ruby/lib/grpc/version.rb +1 -1
  217. metadata +40 -18
  218. data/src/ruby/lib/grpc/grpc_c.bundle +0 -0
  219. data/src/ruby/lib/grpc/grpc_c.so +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5df81987fb128110c0500bdc85e9e819e91b7ca6
4
- data.tar.gz: 7eaff10dd76a6b724b206a3f33767e0272a372b4
3
+ metadata.gz: 51c209ae0034cd007732397b1d78ce7d2c6391a7
4
+ data.tar.gz: 39af3f707ceb91f9eef6ac98f87cf08670b21ebf
5
5
  SHA512:
6
- metadata.gz: 6bb64d67ccd868f1f43464d42effa4134b4d1bdde0f6a4534de3073fabcb8a9c70562756a6e1dd179c8748b61b4b9730e0a417317e6f69349579d1436cc94ed8
7
- data.tar.gz: c8b17e4f88612c6cbec52215ed8b4b88f08e7bebea1a72155aac4aafa75911ce01893984031f02c412a3b7e4acb341fe14dc5209c06ccd8f51fe08414c966e04
6
+ metadata.gz: cdecd3360cefdb1bf97e9ed5eee06aca586c746151efd93ce7e01943986f5c956dfc8f578d50e614ef3edff4c795c30af156a13eb1712b419234c748782e0bd4
7
+ data.tar.gz: a7989799cd8908a3c86c23c6894d6b72ec89d823dad3c7831a9f10adcf17fe2235c436c14ceb4ea4877b05d92debcdbbfa9670e538b6af9b914ed6c9d0ba6758
data/Makefile CHANGED
@@ -92,6 +92,7 @@ CC_opt = $(DEFAULT_CC)
92
92
  CXX_opt = $(DEFAULT_CXX)
93
93
  LD_opt = $(DEFAULT_CC)
94
94
  LDXX_opt = $(DEFAULT_CXX)
95
+ CXXFLAGS_opt = -fno-exceptions
95
96
  CPPFLAGS_opt = -O2
96
97
  DEFINES_opt = NDEBUG
97
98
 
@@ -99,7 +100,7 @@ VALID_CONFIG_asan-trace-cmp = 1
99
100
  REQUIRE_CUSTOM_LIBRARIES_asan-trace-cmp = 1
100
101
  CC_asan-trace-cmp = clang
101
102
  CXX_asan-trace-cmp = clang++
102
- LD_asan-trace-cmp = clang
103
+ LD_asan-trace-cmp = clang++
103
104
  LDXX_asan-trace-cmp = clang++
104
105
  CPPFLAGS_asan-trace-cmp = -O0 -fsanitize-coverage=edge -fsanitize-coverage=trace-cmp -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
105
106
  LDFLAGS_asan-trace-cmp = -fsanitize=address
@@ -109,6 +110,7 @@ CC_dbg = $(DEFAULT_CC)
109
110
  CXX_dbg = $(DEFAULT_CXX)
110
111
  LD_dbg = $(DEFAULT_CC)
111
112
  LDXX_dbg = $(DEFAULT_CXX)
113
+ CXXFLAGS_dbg = -fno-exceptions
112
114
  CPPFLAGS_dbg = -O0
113
115
  DEFINES_dbg = _DEBUG DEBUG
114
116
 
@@ -116,7 +118,7 @@ VALID_CONFIG_asan = 1
116
118
  REQUIRE_CUSTOM_LIBRARIES_asan = 1
117
119
  CC_asan = clang
118
120
  CXX_asan = clang++
119
- LD_asan = clang
121
+ LD_asan = clang++
120
122
  LDXX_asan = clang++
121
123
  CPPFLAGS_asan = -O0 -fsanitize-coverage=edge -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
122
124
  LDFLAGS_asan = -fsanitize=address
@@ -125,7 +127,7 @@ VALID_CONFIG_msan = 1
125
127
  REQUIRE_CUSTOM_LIBRARIES_msan = 1
126
128
  CC_msan = clang
127
129
  CXX_msan = clang++
128
- LD_msan = clang
130
+ LD_msan = clang++
129
131
  LDXX_msan = clang++
130
132
  CPPFLAGS_msan = -O0 -fsanitize-coverage=edge -fsanitize=memory -fsanitize-memory-track-origins -fno-omit-frame-pointer -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1 -Wno-unused-command-line-argument -fPIE -pie -DGPR_NO_DIRECT_SYSCALLS
131
133
  LDFLAGS_msan = -fsanitize=memory -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1 -fPIE -pie $(if $(JENKINS_BUILD),-Wl$(comma)-Ttext-segment=0x7e0000000000,)
@@ -152,26 +154,35 @@ VALID_CONFIG_asan-noleaks = 1
152
154
  REQUIRE_CUSTOM_LIBRARIES_asan-noleaks = 1
153
155
  CC_asan-noleaks = clang
154
156
  CXX_asan-noleaks = clang++
155
- LD_asan-noleaks = clang
157
+ LD_asan-noleaks = clang++
156
158
  LDXX_asan-noleaks = clang++
157
159
  CPPFLAGS_asan-noleaks = -O0 -fsanitize-coverage=edge -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
158
160
  LDFLAGS_asan-noleaks = -fsanitize=address
159
161
 
162
+ VALID_CONFIG_c++-compat = 1
163
+ CC_c++-compat = $(DEFAULT_CC)
164
+ CXX_c++-compat = $(DEFAULT_CXX)
165
+ LD_c++-compat = $(DEFAULT_CC)
166
+ LDXX_c++-compat = $(DEFAULT_CXX)
167
+ CFLAGS_c++-compat = -Wc++-compat
168
+ CPPFLAGS_c++-compat = -O0
169
+ DEFINES_c++-compat = _DEBUG DEBUG
170
+
160
171
  VALID_CONFIG_ubsan = 1
161
172
  REQUIRE_CUSTOM_LIBRARIES_ubsan = 1
162
173
  CC_ubsan = clang
163
174
  CXX_ubsan = clang++
164
- LD_ubsan = clang
175
+ LD_ubsan = clang++
165
176
  LDXX_ubsan = clang++
166
177
  CPPFLAGS_ubsan = -O0 -fsanitize-coverage=edge -fsanitize=undefined -fno-omit-frame-pointer -Wno-unused-command-line-argument -Wvarargs
167
178
  LDFLAGS_ubsan = -fsanitize=undefined,unsigned-integer-overflow
168
- DEFINES_ubsan = NDEBUG
179
+ DEFINES_ubsan = NDEBUG GRPC_UBSAN
169
180
 
170
181
  VALID_CONFIG_tsan = 1
171
182
  REQUIRE_CUSTOM_LIBRARIES_tsan = 1
172
183
  CC_tsan = clang
173
184
  CXX_tsan = clang++
174
- LD_tsan = clang
185
+ LD_tsan = clang++
175
186
  LDXX_tsan = clang++
176
187
  CPPFLAGS_tsan = -O0 -fsanitize=thread -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
177
188
  LDFLAGS_tsan = -fsanitize=thread
@@ -297,10 +308,6 @@ else
297
308
  TMPOUT = `mktemp /tmp/test-out-XXXXXX`
298
309
  endif
299
310
 
300
- # Detect if we can use C++11
301
- CXX11_CHECK_CMD = $(CXX) -std=c++11 -o $(TMPOUT) -c test/build/c++11.cc
302
- HAS_CXX11 = $(shell $(CXX11_CHECK_CMD) 2> /dev/null && echo true || echo false)
303
-
304
311
  CHECK_SHADOW_WORKS_CMD = $(CC) -std=c99 -Werror -Wshadow -o $(TMPOUT) -c test/build/shadow.c
305
312
  HAS_WORKING_SHADOW = $(shell $(CHECK_SHADOW_WORKS_CMD) 2> /dev/null && echo true || echo false)
306
313
  ifeq ($(HAS_WORKING_SHADOW),true)
@@ -331,11 +338,7 @@ HOST_LD ?= $(LD)
331
338
  HOST_LDXX ?= $(LDXX)
332
339
 
333
340
  CFLAGS += -std=c99 -Wsign-conversion -Wconversion $(W_SHADOW) $(W_EXTRA_SEMI)
334
- ifeq ($(HAS_CXX11),true)
335
341
  CXXFLAGS += -std=c++11
336
- else
337
- CXXFLAGS += -std=c++0x
338
- endif
339
342
  CPPFLAGS += -g -Wall -Wextra -Werror -Wno-long-long -Wno-unused-parameter -DOSATOMIC_USE_INLINED=1
340
343
  LDFLAGS += -g
341
344
 
@@ -409,7 +412,7 @@ AROPTS = $(GRPC_CROSS_AROPTS) # e.g., rc --target=elf32-little
409
412
  USE_BUILT_PROTOC = false
410
413
  endif
411
414
 
412
- GTEST_LIB = -Ithird_party/googletest/googletest/include -Ithird_party/googletest/googletest third_party/googletest/googletest/src/gtest-all.cc
415
+ GTEST_LIB = -Ithird_party/googletest/googletest/include -Ithird_party/googletest/googletest third_party/googletest/googletest/src/gtest-all.cc -Ithird_party/googletest/googlemock/include -Ithird_party/googletest/googlemock third_party/googletest/googlemock/src/gmock-all.cc
413
416
  GTEST_LIB += -lgflags
414
417
  ifeq ($(V),1)
415
418
  E = @:
@@ -419,9 +422,9 @@ E = @echo
419
422
  Q = @
420
423
  endif
421
424
 
422
- CORE_VERSION = 3.0.0
423
- CPP_VERSION = 1.3.1
424
- CSHARP_VERSION = 1.3.1
425
+ CORE_VERSION = 4.0.0-dev
426
+ CPP_VERSION = 1.4.0-dev
427
+ CSHARP_VERSION = 1.4.0-dev
425
428
 
426
429
  CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
427
430
  CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
@@ -469,7 +472,7 @@ SHARED_EXT_CORE = dll
469
472
  SHARED_EXT_CPP = dll
470
473
  SHARED_EXT_CSHARP = dll
471
474
  SHARED_PREFIX =
472
- SHARED_VERSION_CORE = -3
475
+ SHARED_VERSION_CORE = -4
473
476
  SHARED_VERSION_CPP = -1
474
477
  SHARED_VERSION_CSHARP = -1
475
478
  else ifeq ($(SYSTEM),Darwin)
@@ -784,7 +787,7 @@ PROTOBUF_PKG_CONFIG = false
784
787
  PC_REQUIRES_GRPCXX =
785
788
  PC_LIBS_GRPCXX =
786
789
 
787
- CPPFLAGS := -Ithird_party/googletest/googletest/include $(CPPFLAGS)
790
+ CPPFLAGS := -Ithird_party/googletest/googletest/include -Ithird_party/googletest/googlemock/include $(CPPFLAGS)
788
791
 
789
792
  PROTOC_PLUGINS_ALL = $(BINDIR)/$(CONFIG)/grpc_cpp_plugin $(BINDIR)/$(CONFIG)/grpc_csharp_plugin $(BINDIR)/$(CONFIG)/grpc_node_plugin $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin $(BINDIR)/$(CONFIG)/grpc_php_plugin $(BINDIR)/$(CONFIG)/grpc_python_plugin $(BINDIR)/$(CONFIG)/grpc_ruby_plugin
790
793
  PROTOC_PLUGINS_DIR = $(BINDIR)/$(CONFIG)
@@ -967,6 +970,7 @@ census_context_test: $(BINDIR)/$(CONFIG)/census_context_test
967
970
  census_resource_test: $(BINDIR)/$(CONFIG)/census_resource_test
968
971
  census_trace_context_test: $(BINDIR)/$(CONFIG)/census_trace_context_test
969
972
  channel_create_test: $(BINDIR)/$(CONFIG)/channel_create_test
973
+ check_epollexclusive: $(BINDIR)/$(CONFIG)/check_epollexclusive
970
974
  chttp2_hpack_encoder_test: $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test
971
975
  chttp2_stream_map_test: $(BINDIR)/$(CONFIG)/chttp2_stream_map_test
972
976
  chttp2_varint_test: $(BINDIR)/$(CONFIG)/chttp2_varint_test
@@ -980,7 +984,8 @@ dns_resolver_test: $(BINDIR)/$(CONFIG)/dns_resolver_test
980
984
  dualstack_socket_test: $(BINDIR)/$(CONFIG)/dualstack_socket_test
981
985
  endpoint_pair_test: $(BINDIR)/$(CONFIG)/endpoint_pair_test
982
986
  error_test: $(BINDIR)/$(CONFIG)/error_test
983
- ev_epoll_linux_test: $(BINDIR)/$(CONFIG)/ev_epoll_linux_test
987
+ ev_epollsig_linux_test: $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test
988
+ fake_resolver_test: $(BINDIR)/$(CONFIG)/fake_resolver_test
984
989
  fd_conservation_posix_test: $(BINDIR)/$(CONFIG)/fd_conservation_posix_test
985
990
  fd_posix_test: $(BINDIR)/$(CONFIG)/fd_posix_test
986
991
  fling_client: $(BINDIR)/$(CONFIG)/fling_client
@@ -1050,6 +1055,7 @@ memory_profile_client: $(BINDIR)/$(CONFIG)/memory_profile_client
1050
1055
  memory_profile_server: $(BINDIR)/$(CONFIG)/memory_profile_server
1051
1056
  memory_profile_test: $(BINDIR)/$(CONFIG)/memory_profile_test
1052
1057
  message_compress_test: $(BINDIR)/$(CONFIG)/message_compress_test
1058
+ minimal_stack_is_minimal_test: $(BINDIR)/$(CONFIG)/minimal_stack_is_minimal_test
1053
1059
  mlog_test: $(BINDIR)/$(CONFIG)/mlog_test
1054
1060
  multiple_server_queues_test: $(BINDIR)/$(CONFIG)/multiple_server_queues_test
1055
1061
  murmur_hash_test: $(BINDIR)/$(CONFIG)/murmur_hash_test
@@ -1071,6 +1077,7 @@ server_chttp2_test: $(BINDIR)/$(CONFIG)/server_chttp2_test
1071
1077
  server_fuzzer: $(BINDIR)/$(CONFIG)/server_fuzzer
1072
1078
  server_test: $(BINDIR)/$(CONFIG)/server_test
1073
1079
  slice_buffer_test: $(BINDIR)/$(CONFIG)/slice_buffer_test
1080
+ slice_hash_table_test: $(BINDIR)/$(CONFIG)/slice_hash_table_test
1074
1081
  slice_string_helpers_test: $(BINDIR)/$(CONFIG)/slice_string_helpers_test
1075
1082
  slice_test: $(BINDIR)/$(CONFIG)/slice_test
1076
1083
  sockaddr_resolver_test: $(BINDIR)/$(CONFIG)/sockaddr_resolver_test
@@ -1140,6 +1147,7 @@ grpc_python_plugin: $(BINDIR)/$(CONFIG)/grpc_python_plugin
1140
1147
  grpc_ruby_plugin: $(BINDIR)/$(CONFIG)/grpc_ruby_plugin
1141
1148
  grpc_tool_test: $(BINDIR)/$(CONFIG)/grpc_tool_test
1142
1149
  grpclb_api_test: $(BINDIR)/$(CONFIG)/grpclb_api_test
1150
+ grpclb_end2end_test: $(BINDIR)/$(CONFIG)/grpclb_end2end_test
1143
1151
  grpclb_test: $(BINDIR)/$(CONFIG)/grpclb_test
1144
1152
  health_service_end2end_test: $(BINDIR)/$(CONFIG)/health_service_end2end_test
1145
1153
  http2_client: $(BINDIR)/$(CONFIG)/http2_client
@@ -1148,6 +1156,7 @@ interop_client: $(BINDIR)/$(CONFIG)/interop_client
1148
1156
  interop_server: $(BINDIR)/$(CONFIG)/interop_server
1149
1157
  interop_test: $(BINDIR)/$(CONFIG)/interop_test
1150
1158
  json_run_localhost: $(BINDIR)/$(CONFIG)/json_run_localhost
1159
+ memory_test: $(BINDIR)/$(CONFIG)/memory_test
1151
1160
  metrics_client: $(BINDIR)/$(CONFIG)/metrics_client
1152
1161
  mock_test: $(BINDIR)/$(CONFIG)/mock_test
1153
1162
  noop-benchmark: $(BINDIR)/$(CONFIG)/noop-benchmark
@@ -1364,7 +1373,8 @@ buildtests_c: privatelibs_c \
1364
1373
  $(BINDIR)/$(CONFIG)/dualstack_socket_test \
1365
1374
  $(BINDIR)/$(CONFIG)/endpoint_pair_test \
1366
1375
  $(BINDIR)/$(CONFIG)/error_test \
1367
- $(BINDIR)/$(CONFIG)/ev_epoll_linux_test \
1376
+ $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test \
1377
+ $(BINDIR)/$(CONFIG)/fake_resolver_test \
1368
1378
  $(BINDIR)/$(CONFIG)/fd_conservation_posix_test \
1369
1379
  $(BINDIR)/$(CONFIG)/fd_posix_test \
1370
1380
  $(BINDIR)/$(CONFIG)/fling_client \
@@ -1423,6 +1433,7 @@ buildtests_c: privatelibs_c \
1423
1433
  $(BINDIR)/$(CONFIG)/memory_profile_server \
1424
1434
  $(BINDIR)/$(CONFIG)/memory_profile_test \
1425
1435
  $(BINDIR)/$(CONFIG)/message_compress_test \
1436
+ $(BINDIR)/$(CONFIG)/minimal_stack_is_minimal_test \
1426
1437
  $(BINDIR)/$(CONFIG)/mlog_test \
1427
1438
  $(BINDIR)/$(CONFIG)/multiple_server_queues_test \
1428
1439
  $(BINDIR)/$(CONFIG)/murmur_hash_test \
@@ -1439,6 +1450,7 @@ buildtests_c: privatelibs_c \
1439
1450
  $(BINDIR)/$(CONFIG)/server_chttp2_test \
1440
1451
  $(BINDIR)/$(CONFIG)/server_test \
1441
1452
  $(BINDIR)/$(CONFIG)/slice_buffer_test \
1453
+ $(BINDIR)/$(CONFIG)/slice_hash_table_test \
1442
1454
  $(BINDIR)/$(CONFIG)/slice_string_helpers_test \
1443
1455
  $(BINDIR)/$(CONFIG)/slice_test \
1444
1456
  $(BINDIR)/$(CONFIG)/sockaddr_resolver_test \
@@ -1560,6 +1572,7 @@ buildtests_cxx: privatelibs_cxx \
1560
1572
  $(BINDIR)/$(CONFIG)/grpc_cli \
1561
1573
  $(BINDIR)/$(CONFIG)/grpc_tool_test \
1562
1574
  $(BINDIR)/$(CONFIG)/grpclb_api_test \
1575
+ $(BINDIR)/$(CONFIG)/grpclb_end2end_test \
1563
1576
  $(BINDIR)/$(CONFIG)/grpclb_test \
1564
1577
  $(BINDIR)/$(CONFIG)/health_service_end2end_test \
1565
1578
  $(BINDIR)/$(CONFIG)/http2_client \
@@ -1568,6 +1581,7 @@ buildtests_cxx: privatelibs_cxx \
1568
1581
  $(BINDIR)/$(CONFIG)/interop_server \
1569
1582
  $(BINDIR)/$(CONFIG)/interop_test \
1570
1583
  $(BINDIR)/$(CONFIG)/json_run_localhost \
1584
+ $(BINDIR)/$(CONFIG)/memory_test \
1571
1585
  $(BINDIR)/$(CONFIG)/metrics_client \
1572
1586
  $(BINDIR)/$(CONFIG)/mock_test \
1573
1587
  $(BINDIR)/$(CONFIG)/noop-benchmark \
@@ -1680,6 +1694,7 @@ buildtests_cxx: privatelibs_cxx \
1680
1694
  $(BINDIR)/$(CONFIG)/grpc_cli \
1681
1695
  $(BINDIR)/$(CONFIG)/grpc_tool_test \
1682
1696
  $(BINDIR)/$(CONFIG)/grpclb_api_test \
1697
+ $(BINDIR)/$(CONFIG)/grpclb_end2end_test \
1683
1698
  $(BINDIR)/$(CONFIG)/grpclb_test \
1684
1699
  $(BINDIR)/$(CONFIG)/health_service_end2end_test \
1685
1700
  $(BINDIR)/$(CONFIG)/http2_client \
@@ -1688,6 +1703,7 @@ buildtests_cxx: privatelibs_cxx \
1688
1703
  $(BINDIR)/$(CONFIG)/interop_server \
1689
1704
  $(BINDIR)/$(CONFIG)/interop_test \
1690
1705
  $(BINDIR)/$(CONFIG)/json_run_localhost \
1706
+ $(BINDIR)/$(CONFIG)/memory_test \
1691
1707
  $(BINDIR)/$(CONFIG)/metrics_client \
1692
1708
  $(BINDIR)/$(CONFIG)/mock_test \
1693
1709
  $(BINDIR)/$(CONFIG)/noop-benchmark \
@@ -1773,8 +1789,10 @@ test_c: buildtests_c
1773
1789
  $(Q) $(BINDIR)/$(CONFIG)/endpoint_pair_test || ( echo test endpoint_pair_test failed ; exit 1 )
1774
1790
  $(E) "[RUN] Testing error_test"
1775
1791
  $(Q) $(BINDIR)/$(CONFIG)/error_test || ( echo test error_test failed ; exit 1 )
1776
- $(E) "[RUN] Testing ev_epoll_linux_test"
1777
- $(Q) $(BINDIR)/$(CONFIG)/ev_epoll_linux_test || ( echo test ev_epoll_linux_test failed ; exit 1 )
1792
+ $(E) "[RUN] Testing ev_epollsig_linux_test"
1793
+ $(Q) $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test || ( echo test ev_epollsig_linux_test failed ; exit 1 )
1794
+ $(E) "[RUN] Testing fake_resolver_test"
1795
+ $(Q) $(BINDIR)/$(CONFIG)/fake_resolver_test || ( echo test fake_resolver_test failed ; exit 1 )
1778
1796
  $(E) "[RUN] Testing fd_conservation_posix_test"
1779
1797
  $(Q) $(BINDIR)/$(CONFIG)/fd_conservation_posix_test || ( echo test fd_conservation_posix_test failed ; exit 1 )
1780
1798
  $(E) "[RUN] Testing fd_posix_test"
@@ -1877,6 +1895,8 @@ test_c: buildtests_c
1877
1895
  $(Q) $(BINDIR)/$(CONFIG)/memory_profile_test || ( echo test memory_profile_test failed ; exit 1 )
1878
1896
  $(E) "[RUN] Testing message_compress_test"
1879
1897
  $(Q) $(BINDIR)/$(CONFIG)/message_compress_test || ( echo test message_compress_test failed ; exit 1 )
1898
+ $(E) "[RUN] Testing minimal_stack_is_minimal_test"
1899
+ $(Q) $(BINDIR)/$(CONFIG)/minimal_stack_is_minimal_test || ( echo test minimal_stack_is_minimal_test failed ; exit 1 )
1880
1900
  $(E) "[RUN] Testing multiple_server_queues_test"
1881
1901
  $(Q) $(BINDIR)/$(CONFIG)/multiple_server_queues_test || ( echo test multiple_server_queues_test failed ; exit 1 )
1882
1902
  $(E) "[RUN] Testing murmur_hash_test"
@@ -1907,6 +1927,8 @@ test_c: buildtests_c
1907
1927
  $(Q) $(BINDIR)/$(CONFIG)/server_test || ( echo test server_test failed ; exit 1 )
1908
1928
  $(E) "[RUN] Testing slice_buffer_test"
1909
1929
  $(Q) $(BINDIR)/$(CONFIG)/slice_buffer_test || ( echo test slice_buffer_test failed ; exit 1 )
1930
+ $(E) "[RUN] Testing slice_hash_table_test"
1931
+ $(Q) $(BINDIR)/$(CONFIG)/slice_hash_table_test || ( echo test slice_hash_table_test failed ; exit 1 )
1910
1932
  $(E) "[RUN] Testing slice_string_helpers_test"
1911
1933
  $(Q) $(BINDIR)/$(CONFIG)/slice_string_helpers_test || ( echo test slice_string_helpers_test failed ; exit 1 )
1912
1934
  $(E) "[RUN] Testing slice_test"
@@ -2055,12 +2077,16 @@ test_cxx: buildtests_cxx
2055
2077
  $(Q) $(BINDIR)/$(CONFIG)/grpc_tool_test || ( echo test grpc_tool_test failed ; exit 1 )
2056
2078
  $(E) "[RUN] Testing grpclb_api_test"
2057
2079
  $(Q) $(BINDIR)/$(CONFIG)/grpclb_api_test || ( echo test grpclb_api_test failed ; exit 1 )
2080
+ $(E) "[RUN] Testing grpclb_end2end_test"
2081
+ $(Q) $(BINDIR)/$(CONFIG)/grpclb_end2end_test || ( echo test grpclb_end2end_test failed ; exit 1 )
2058
2082
  $(E) "[RUN] Testing grpclb_test"
2059
2083
  $(Q) $(BINDIR)/$(CONFIG)/grpclb_test || ( echo test grpclb_test failed ; exit 1 )
2060
2084
  $(E) "[RUN] Testing health_service_end2end_test"
2061
2085
  $(Q) $(BINDIR)/$(CONFIG)/health_service_end2end_test || ( echo test health_service_end2end_test failed ; exit 1 )
2062
2086
  $(E) "[RUN] Testing interop_test"
2063
2087
  $(Q) $(BINDIR)/$(CONFIG)/interop_test || ( echo test interop_test failed ; exit 1 )
2088
+ $(E) "[RUN] Testing memory_test"
2089
+ $(Q) $(BINDIR)/$(CONFIG)/memory_test || ( echo test memory_test failed ; exit 1 )
2064
2090
  $(E) "[RUN] Testing mock_test"
2065
2091
  $(Q) $(BINDIR)/$(CONFIG)/mock_test || ( echo test mock_test failed ; exit 1 )
2066
2092
  $(E) "[RUN] Testing noop-benchmark"
@@ -2112,7 +2138,7 @@ test_python: static_c
2112
2138
  tools: tools_c tools_cxx
2113
2139
 
2114
2140
 
2115
- tools_c: privatelibs_c $(BINDIR)/$(CONFIG)/gen_hpack_tables $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables $(BINDIR)/$(CONFIG)/grpc_create_jwt $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token $(BINDIR)/$(CONFIG)/grpc_verify_jwt
2141
+ tools_c: privatelibs_c $(BINDIR)/$(CONFIG)/check_epollexclusive $(BINDIR)/$(CONFIG)/gen_hpack_tables $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables $(BINDIR)/$(CONFIG)/grpc_create_jwt $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token $(BINDIR)/$(CONFIG)/grpc_verify_jwt
2116
2142
 
2117
2143
  tools_cxx: privatelibs_cxx
2118
2144
 
@@ -2217,6 +2243,7 @@ ifeq ($(NO_PROTOC),true)
2217
2243
  $(GENDIR)/src/proto/grpc/health/v1/health.pb.cc: protoc_dep_error
2218
2244
  $(GENDIR)/src/proto/grpc/health/v1/health.grpc.pb.cc: protoc_dep_error
2219
2245
  else
2246
+
2220
2247
  $(GENDIR)/src/proto/grpc/health/v1/health.pb.cc: src/proto/grpc/health/v1/health.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2221
2248
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2222
2249
  $(Q) mkdir -p `dirname $@`
@@ -2232,6 +2259,7 @@ ifeq ($(NO_PROTOC),true)
2232
2259
  $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc: protoc_dep_error
2233
2260
  $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc: protoc_dep_error
2234
2261
  else
2262
+
2235
2263
  $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc: src/proto/grpc/lb/v1/load_balancer.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2236
2264
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2237
2265
  $(Q) mkdir -p `dirname $@`
@@ -2247,6 +2275,7 @@ ifeq ($(NO_PROTOC),true)
2247
2275
  $(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.pb.cc: protoc_dep_error
2248
2276
  $(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc: protoc_dep_error
2249
2277
  else
2278
+
2250
2279
  $(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.pb.cc: src/proto/grpc/reflection/v1alpha/reflection.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2251
2280
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2252
2281
  $(Q) mkdir -p `dirname $@`
@@ -2262,6 +2291,7 @@ ifeq ($(NO_PROTOC),true)
2262
2291
  $(GENDIR)/src/proto/grpc/status/status.pb.cc: protoc_dep_error
2263
2292
  $(GENDIR)/src/proto/grpc/status/status.grpc.pb.cc: protoc_dep_error
2264
2293
  else
2294
+
2265
2295
  $(GENDIR)/src/proto/grpc/status/status.pb.cc: src/proto/grpc/status/status.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2266
2296
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2267
2297
  $(Q) mkdir -p `dirname $@`
@@ -2277,6 +2307,8 @@ ifeq ($(NO_PROTOC),true)
2277
2307
  $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc: protoc_dep_error
2278
2308
  $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc: protoc_dep_error
2279
2309
  else
2310
+
2311
+
2280
2312
  $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc: src/proto/grpc/testing/compiler_test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2281
2313
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2282
2314
  $(Q) mkdir -p `dirname $@`
@@ -2285,13 +2317,14 @@ $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc: src/proto/grpc/testing/com
2285
2317
  $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc: src/proto/grpc/testing/compiler_test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2286
2318
  $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<"
2287
2319
  $(Q) mkdir -p `dirname $@`
2288
- $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin$(EXECUTABLE_SUFFIX) $<
2320
+ $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=generate_mock_code=true:$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin$(EXECUTABLE_SUFFIX) $<
2289
2321
  endif
2290
2322
 
2291
2323
  ifeq ($(NO_PROTOC),true)
2292
2324
  $(GENDIR)/src/proto/grpc/testing/control.pb.cc: protoc_dep_error
2293
2325
  $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc: protoc_dep_error
2294
2326
  else
2327
+
2295
2328
  $(GENDIR)/src/proto/grpc/testing/control.pb.cc: src/proto/grpc/testing/control.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc
2296
2329
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2297
2330
  $(Q) mkdir -p `dirname $@`
@@ -2307,6 +2340,7 @@ ifeq ($(NO_PROTOC),true)
2307
2340
  $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc: protoc_dep_error
2308
2341
  $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc: protoc_dep_error
2309
2342
  else
2343
+
2310
2344
  $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc: src/proto/grpc/testing/duplicate/echo_duplicate.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc
2311
2345
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2312
2346
  $(Q) mkdir -p `dirname $@`
@@ -2322,6 +2356,8 @@ ifeq ($(NO_PROTOC),true)
2322
2356
  $(GENDIR)/src/proto/grpc/testing/echo.pb.cc: protoc_dep_error
2323
2357
  $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc: protoc_dep_error
2324
2358
  else
2359
+
2360
+
2325
2361
  $(GENDIR)/src/proto/grpc/testing/echo.pb.cc: src/proto/grpc/testing/echo.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc
2326
2362
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2327
2363
  $(Q) mkdir -p `dirname $@`
@@ -2330,13 +2366,14 @@ $(GENDIR)/src/proto/grpc/testing/echo.pb.cc: src/proto/grpc/testing/echo.proto $
2330
2366
  $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc: src/proto/grpc/testing/echo.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc
2331
2367
  $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<"
2332
2368
  $(Q) mkdir -p `dirname $@`
2333
- $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin$(EXECUTABLE_SUFFIX) $<
2369
+ $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=generate_mock_code=true:$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin$(EXECUTABLE_SUFFIX) $<
2334
2370
  endif
2335
2371
 
2336
2372
  ifeq ($(NO_PROTOC),true)
2337
2373
  $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc: protoc_dep_error
2338
2374
  $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc: protoc_dep_error
2339
2375
  else
2376
+
2340
2377
  $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc: src/proto/grpc/testing/echo_messages.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2341
2378
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2342
2379
  $(Q) mkdir -p `dirname $@`
@@ -2352,6 +2389,7 @@ ifeq ($(NO_PROTOC),true)
2352
2389
  $(GENDIR)/src/proto/grpc/testing/empty.pb.cc: protoc_dep_error
2353
2390
  $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc: protoc_dep_error
2354
2391
  else
2392
+
2355
2393
  $(GENDIR)/src/proto/grpc/testing/empty.pb.cc: src/proto/grpc/testing/empty.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2356
2394
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2357
2395
  $(Q) mkdir -p `dirname $@`
@@ -2367,6 +2405,7 @@ ifeq ($(NO_PROTOC),true)
2367
2405
  $(GENDIR)/src/proto/grpc/testing/messages.pb.cc: protoc_dep_error
2368
2406
  $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc: protoc_dep_error
2369
2407
  else
2408
+
2370
2409
  $(GENDIR)/src/proto/grpc/testing/messages.pb.cc: src/proto/grpc/testing/messages.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2371
2410
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2372
2411
  $(Q) mkdir -p `dirname $@`
@@ -2382,6 +2421,7 @@ ifeq ($(NO_PROTOC),true)
2382
2421
  $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc: protoc_dep_error
2383
2422
  $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc: protoc_dep_error
2384
2423
  else
2424
+
2385
2425
  $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc: src/proto/grpc/testing/metrics.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2386
2426
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2387
2427
  $(Q) mkdir -p `dirname $@`
@@ -2397,6 +2437,7 @@ ifeq ($(NO_PROTOC),true)
2397
2437
  $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc: protoc_dep_error
2398
2438
  $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc: protoc_dep_error
2399
2439
  else
2440
+
2400
2441
  $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc: src/proto/grpc/testing/payloads.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2401
2442
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2402
2443
  $(Q) mkdir -p `dirname $@`
@@ -2412,6 +2453,7 @@ ifeq ($(NO_PROTOC),true)
2412
2453
  $(GENDIR)/src/proto/grpc/testing/services.pb.cc: protoc_dep_error
2413
2454
  $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc: protoc_dep_error
2414
2455
  else
2456
+
2415
2457
  $(GENDIR)/src/proto/grpc/testing/services.pb.cc: src/proto/grpc/testing/services.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc
2416
2458
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2417
2459
  $(Q) mkdir -p `dirname $@`
@@ -2427,6 +2469,7 @@ ifeq ($(NO_PROTOC),true)
2427
2469
  $(GENDIR)/src/proto/grpc/testing/stats.pb.cc: protoc_dep_error
2428
2470
  $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc: protoc_dep_error
2429
2471
  else
2472
+
2430
2473
  $(GENDIR)/src/proto/grpc/testing/stats.pb.cc: src/proto/grpc/testing/stats.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
2431
2474
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2432
2475
  $(Q) mkdir -p `dirname $@`
@@ -2442,6 +2485,7 @@ ifeq ($(NO_PROTOC),true)
2442
2485
  $(GENDIR)/src/proto/grpc/testing/test.pb.cc: protoc_dep_error
2443
2486
  $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc: protoc_dep_error
2444
2487
  else
2488
+
2445
2489
  $(GENDIR)/src/proto/grpc/testing/test.pb.cc: src/proto/grpc/testing/test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc
2446
2490
  $(E) "[PROTOC] Generating protobuf CC file from $<"
2447
2491
  $(Q) mkdir -p `dirname $@`
@@ -2550,7 +2594,7 @@ install-shared_c: shared_c strip-shared_c install-pkg-config_c
2550
2594
  ifeq ($(SYSTEM),MINGW32)
2551
2595
  $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE)-dll.a $(prefix)/lib/libgpr.a
2552
2596
  else ifneq ($(SYSTEM),Darwin)
2553
- $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgpr.so.3
2597
+ $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgpr.so.4
2554
2598
  $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgpr.so
2555
2599
  endif
2556
2600
  $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)"
@@ -2559,7 +2603,7 @@ endif
2559
2603
  ifeq ($(SYSTEM),MINGW32)
2560
2604
  $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE)-dll.a $(prefix)/lib/libgrpc.a
2561
2605
  else ifneq ($(SYSTEM),Darwin)
2562
- $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgrpc.so.3
2606
+ $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgrpc.so.4
2563
2607
  $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgrpc.so
2564
2608
  endif
2565
2609
  $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)"
@@ -2568,7 +2612,7 @@ endif
2568
2612
  ifeq ($(SYSTEM),MINGW32)
2569
2613
  $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION_CORE)-dll.a $(prefix)/lib/libgrpc_cronet.a
2570
2614
  else ifneq ($(SYSTEM),Darwin)
2571
- $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgrpc_cronet.so.3
2615
+ $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgrpc_cronet.so.4
2572
2616
  $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgrpc_cronet.so
2573
2617
  endif
2574
2618
  $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)"
@@ -2577,7 +2621,7 @@ endif
2577
2621
  ifeq ($(SYSTEM),MINGW32)
2578
2622
  $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE)-dll.a $(prefix)/lib/libgrpc_unsecure.a
2579
2623
  else ifneq ($(SYSTEM),Darwin)
2580
- $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgrpc_unsecure.so.3
2624
+ $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgrpc_unsecure.so.4
2581
2625
  $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/lib/libgrpc_unsecure.so
2582
2626
  endif
2583
2627
  ifneq ($(SYSTEM),MINGW32)
@@ -2594,7 +2638,7 @@ install-shared_cxx: shared_cxx strip-shared_cxx install-shared_c install-pkg-con
2594
2638
  ifeq ($(SYSTEM),MINGW32)
2595
2639
  $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++$(SHARED_VERSION_CPP)-dll.a $(prefix)/lib/libgrpc++.a
2596
2640
  else ifneq ($(SYSTEM),Darwin)
2597
- $(Q) ln -sf $(SHARED_PREFIX)grpc++$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++.so.3
2641
+ $(Q) ln -sf $(SHARED_PREFIX)grpc++$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++.so.4
2598
2642
  $(Q) ln -sf $(SHARED_PREFIX)grpc++$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++.so
2599
2643
  endif
2600
2644
  $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++_cronet$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)"
@@ -2603,7 +2647,7 @@ endif
2603
2647
  ifeq ($(SYSTEM),MINGW32)
2604
2648
  $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_cronet$(SHARED_VERSION_CPP)-dll.a $(prefix)/lib/libgrpc++_cronet.a
2605
2649
  else ifneq ($(SYSTEM),Darwin)
2606
- $(Q) ln -sf $(SHARED_PREFIX)grpc++_cronet$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_cronet.so.3
2650
+ $(Q) ln -sf $(SHARED_PREFIX)grpc++_cronet$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_cronet.so.4
2607
2651
  $(Q) ln -sf $(SHARED_PREFIX)grpc++_cronet$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_cronet.so
2608
2652
  endif
2609
2653
  $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++_error_details$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)"
@@ -2612,7 +2656,7 @@ endif
2612
2656
  ifeq ($(SYSTEM),MINGW32)
2613
2657
  $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_error_details$(SHARED_VERSION_CPP)-dll.a $(prefix)/lib/libgrpc++_error_details.a
2614
2658
  else ifneq ($(SYSTEM),Darwin)
2615
- $(Q) ln -sf $(SHARED_PREFIX)grpc++_error_details$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_error_details.so.3
2659
+ $(Q) ln -sf $(SHARED_PREFIX)grpc++_error_details$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_error_details.so.4
2616
2660
  $(Q) ln -sf $(SHARED_PREFIX)grpc++_error_details$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_error_details.so
2617
2661
  endif
2618
2662
  $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)"
@@ -2621,7 +2665,7 @@ endif
2621
2665
  ifeq ($(SYSTEM),MINGW32)
2622
2666
  $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection$(SHARED_VERSION_CPP)-dll.a $(prefix)/lib/libgrpc++_reflection.a
2623
2667
  else ifneq ($(SYSTEM),Darwin)
2624
- $(Q) ln -sf $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_reflection.so.3
2668
+ $(Q) ln -sf $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_reflection.so.4
2625
2669
  $(Q) ln -sf $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_reflection.so
2626
2670
  endif
2627
2671
  $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)"
@@ -2630,7 +2674,7 @@ endif
2630
2674
  ifeq ($(SYSTEM),MINGW32)
2631
2675
  $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure$(SHARED_VERSION_CPP)-dll.a $(prefix)/lib/libgrpc++_unsecure.a
2632
2676
  else ifneq ($(SYSTEM),Darwin)
2633
- $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_unsecure.so.3
2677
+ $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_unsecure.so.4
2634
2678
  $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_unsecure.so
2635
2679
  endif
2636
2680
  ifneq ($(SYSTEM),MINGW32)
@@ -2647,7 +2691,7 @@ install-shared_csharp: shared_csharp strip-shared_csharp
2647
2691
  ifeq ($(SYSTEM),MINGW32)
2648
2692
  $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CSHARP)-dll.a $(prefix)/lib/libgrpc_csharp_ext.a
2649
2693
  else ifneq ($(SYSTEM),Darwin)
2650
- $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CSHARP).$(SHARED_EXT_CSHARP) $(prefix)/lib/libgrpc_csharp_ext.so.3
2694
+ $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CSHARP).$(SHARED_EXT_CSHARP) $(prefix)/lib/libgrpc_csharp_ext.so.4
2651
2695
  $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CSHARP).$(SHARED_EXT_CSHARP) $(prefix)/lib/libgrpc_csharp_ext.so
2652
2696
  endif
2653
2697
  ifneq ($(SYSTEM),MINGW32)
@@ -2812,8 +2856,8 @@ $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGPR_OB
2812
2856
  ifeq ($(SYSTEM),Darwin)
2813
2857
  $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGPR_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
2814
2858
  else
2815
- $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgpr.so.3 -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGPR_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
2816
- $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).so.3
2859
+ $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgpr.so.4 -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGPR_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
2860
+ $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).so.4
2817
2861
  $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION_CORE).so
2818
2862
  endif
2819
2863
  endif
@@ -2853,18 +2897,12 @@ LIBGRPC_SRC = \
2853
2897
  src/core/lib/channel/channel_args.c \
2854
2898
  src/core/lib/channel/channel_stack.c \
2855
2899
  src/core/lib/channel/channel_stack_builder.c \
2856
- src/core/lib/channel/compress_filter.c \
2857
2900
  src/core/lib/channel/connected_channel.c \
2858
- src/core/lib/channel/deadline_filter.c \
2859
2901
  src/core/lib/channel/handshaker.c \
2860
2902
  src/core/lib/channel/handshaker_factory.c \
2861
2903
  src/core/lib/channel/handshaker_registry.c \
2862
- src/core/lib/channel/http_client_filter.c \
2863
- src/core/lib/channel/http_server_filter.c \
2864
- src/core/lib/channel/message_size_filter.c \
2865
2904
  src/core/lib/compression/compression.c \
2866
2905
  src/core/lib/compression/message_compress.c \
2867
- src/core/lib/debug/trace.c \
2868
2906
  src/core/lib/http/format_request.c \
2869
2907
  src/core/lib/http/httpcli.c \
2870
2908
  src/core/lib/http/parser.c \
@@ -2875,7 +2913,11 @@ LIBGRPC_SRC = \
2875
2913
  src/core/lib/iomgr/endpoint_pair_uv.c \
2876
2914
  src/core/lib/iomgr/endpoint_pair_windows.c \
2877
2915
  src/core/lib/iomgr/error.c \
2878
- src/core/lib/iomgr/ev_epoll_linux.c \
2916
+ src/core/lib/iomgr/ev_epoll1_linux.c \
2917
+ src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c \
2918
+ src/core/lib/iomgr/ev_epoll_thread_pool_linux.c \
2919
+ src/core/lib/iomgr/ev_epollex_linux.c \
2920
+ src/core/lib/iomgr/ev_epollsig_linux.c \
2879
2921
  src/core/lib/iomgr/ev_poll_posix.c \
2880
2922
  src/core/lib/iomgr/ev_posix.c \
2881
2923
  src/core/lib/iomgr/exec_ctx.c \
@@ -2885,6 +2927,7 @@ LIBGRPC_SRC = \
2885
2927
  src/core/lib/iomgr/iomgr_posix.c \
2886
2928
  src/core/lib/iomgr/iomgr_uv.c \
2887
2929
  src/core/lib/iomgr/iomgr_windows.c \
2930
+ src/core/lib/iomgr/is_epollexclusive_available.c \
2888
2931
  src/core/lib/iomgr/load_file.c \
2889
2932
  src/core/lib/iomgr/lockfree_event.c \
2890
2933
  src/core/lib/iomgr/network_status_tracker.c \
@@ -2921,6 +2964,7 @@ LIBGRPC_SRC = \
2921
2964
  src/core/lib/iomgr/time_averaged_stats.c \
2922
2965
  src/core/lib/iomgr/timer_generic.c \
2923
2966
  src/core/lib/iomgr/timer_heap.c \
2967
+ src/core/lib/iomgr/timer_manager.c \
2924
2968
  src/core/lib/iomgr/timer_uv.c \
2925
2969
  src/core/lib/iomgr/udp_server.c \
2926
2970
  src/core/lib/iomgr/unix_sockets_posix.c \
@@ -2957,7 +3001,7 @@ LIBGRPC_SRC = \
2957
3001
  src/core/lib/surface/completion_queue.c \
2958
3002
  src/core/lib/surface/completion_queue_factory.c \
2959
3003
  src/core/lib/surface/event_string.c \
2960
- src/core/lib/surface/lame_client.c \
3004
+ src/core/lib/surface/lame_client.cc \
2961
3005
  src/core/lib/surface/metadata_array.c \
2962
3006
  src/core/lib/surface/server.c \
2963
3007
  src/core/lib/surface/validate_metadata.c \
@@ -2975,6 +3019,7 @@ LIBGRPC_SRC = \
2975
3019
  src/core/lib/transport/timeout_encoding.c \
2976
3020
  src/core/lib/transport/transport.c \
2977
3021
  src/core/lib/transport/transport_op_string.c \
3022
+ src/core/lib/debug/trace.c \
2978
3023
  src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c \
2979
3024
  src/core/ext/transport/chttp2/transport/bin_decoder.c \
2980
3025
  src/core/ext/transport/chttp2/transport/bin_encoder.c \
@@ -2998,6 +3043,10 @@ LIBGRPC_SRC = \
2998
3043
  src/core/ext/transport/chttp2/transport/varint.c \
2999
3044
  src/core/ext/transport/chttp2/transport/writing.c \
3000
3045
  src/core/ext/transport/chttp2/alpn/alpn.c \
3046
+ src/core/ext/filters/http/client/http_client_filter.c \
3047
+ src/core/ext/filters/http/http_filters_plugin.c \
3048
+ src/core/ext/filters/http/message_compress/message_compress_filter.c \
3049
+ src/core/ext/filters/http/server/http_server_filter.c \
3001
3050
  src/core/lib/http/httpcli_security_connector.c \
3002
3051
  src/core/lib/security/context/security_context.c \
3003
3052
  src/core/lib/security/credentials/composite/composite_credentials.c \
@@ -3025,6 +3074,7 @@ LIBGRPC_SRC = \
3025
3074
  src/core/tsi/fake_transport_security.c \
3026
3075
  src/core/tsi/ssl_transport_security.c \
3027
3076
  src/core/tsi/transport_security.c \
3077
+ src/core/tsi/transport_security_adapter.c \
3028
3078
  src/core/ext/transport/chttp2/server/chttp2_server.c \
3029
3079
  src/core/ext/transport/chttp2/client/secure/secure_channel_create.c \
3030
3080
  src/core/ext/filters/client_channel/channel_connectivity.c \
@@ -3047,13 +3097,16 @@ LIBGRPC_SRC = \
3047
3097
  src/core/ext/filters/client_channel/subchannel.c \
3048
3098
  src/core/ext/filters/client_channel/subchannel_index.c \
3049
3099
  src/core/ext/filters/client_channel/uri_parser.c \
3100
+ src/core/ext/filters/deadline/deadline_filter.c \
3050
3101
  src/core/ext/transport/chttp2/client/chttp2_connector.c \
3051
3102
  src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \
3052
3103
  src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c \
3053
3104
  src/core/ext/transport/chttp2/client/insecure/channel_create.c \
3054
3105
  src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c \
3106
+ src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c \
3055
3107
  src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c \
3056
3108
  src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.c \
3109
+ src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c \
3057
3110
  src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c \
3058
3111
  src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c \
3059
3112
  third_party/nanopb/pb_common.c \
@@ -3083,6 +3136,7 @@ LIBGRPC_SRC = \
3083
3136
  src/core/ext/census/trace_context.c \
3084
3137
  src/core/ext/census/tracing.c \
3085
3138
  src/core/ext/filters/max_age/max_age_filter.c \
3139
+ src/core/ext/filters/message_size/message_size_filter.c \
3086
3140
  src/core/plugin_registry/grpc_plugin_registry.c \
3087
3141
 
3088
3142
  PUBLIC_HEADERS_C += \
@@ -3155,8 +3209,8 @@ $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_
3155
3209
  ifeq ($(SYSTEM),Darwin)
3156
3210
  $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
3157
3211
  else
3158
- $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.3 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
3159
- $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so.3
3212
+ $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.4 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
3213
+ $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so.4
3160
3214
  $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so
3161
3215
  endif
3162
3216
  endif
@@ -3175,18 +3229,12 @@ LIBGRPC_CRONET_SRC = \
3175
3229
  src/core/lib/channel/channel_args.c \
3176
3230
  src/core/lib/channel/channel_stack.c \
3177
3231
  src/core/lib/channel/channel_stack_builder.c \
3178
- src/core/lib/channel/compress_filter.c \
3179
3232
  src/core/lib/channel/connected_channel.c \
3180
- src/core/lib/channel/deadline_filter.c \
3181
3233
  src/core/lib/channel/handshaker.c \
3182
3234
  src/core/lib/channel/handshaker_factory.c \
3183
3235
  src/core/lib/channel/handshaker_registry.c \
3184
- src/core/lib/channel/http_client_filter.c \
3185
- src/core/lib/channel/http_server_filter.c \
3186
- src/core/lib/channel/message_size_filter.c \
3187
3236
  src/core/lib/compression/compression.c \
3188
3237
  src/core/lib/compression/message_compress.c \
3189
- src/core/lib/debug/trace.c \
3190
3238
  src/core/lib/http/format_request.c \
3191
3239
  src/core/lib/http/httpcli.c \
3192
3240
  src/core/lib/http/parser.c \
@@ -3197,7 +3245,11 @@ LIBGRPC_CRONET_SRC = \
3197
3245
  src/core/lib/iomgr/endpoint_pair_uv.c \
3198
3246
  src/core/lib/iomgr/endpoint_pair_windows.c \
3199
3247
  src/core/lib/iomgr/error.c \
3200
- src/core/lib/iomgr/ev_epoll_linux.c \
3248
+ src/core/lib/iomgr/ev_epoll1_linux.c \
3249
+ src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c \
3250
+ src/core/lib/iomgr/ev_epoll_thread_pool_linux.c \
3251
+ src/core/lib/iomgr/ev_epollex_linux.c \
3252
+ src/core/lib/iomgr/ev_epollsig_linux.c \
3201
3253
  src/core/lib/iomgr/ev_poll_posix.c \
3202
3254
  src/core/lib/iomgr/ev_posix.c \
3203
3255
  src/core/lib/iomgr/exec_ctx.c \
@@ -3207,6 +3259,7 @@ LIBGRPC_CRONET_SRC = \
3207
3259
  src/core/lib/iomgr/iomgr_posix.c \
3208
3260
  src/core/lib/iomgr/iomgr_uv.c \
3209
3261
  src/core/lib/iomgr/iomgr_windows.c \
3262
+ src/core/lib/iomgr/is_epollexclusive_available.c \
3210
3263
  src/core/lib/iomgr/load_file.c \
3211
3264
  src/core/lib/iomgr/lockfree_event.c \
3212
3265
  src/core/lib/iomgr/network_status_tracker.c \
@@ -3243,6 +3296,7 @@ LIBGRPC_CRONET_SRC = \
3243
3296
  src/core/lib/iomgr/time_averaged_stats.c \
3244
3297
  src/core/lib/iomgr/timer_generic.c \
3245
3298
  src/core/lib/iomgr/timer_heap.c \
3299
+ src/core/lib/iomgr/timer_manager.c \
3246
3300
  src/core/lib/iomgr/timer_uv.c \
3247
3301
  src/core/lib/iomgr/udp_server.c \
3248
3302
  src/core/lib/iomgr/unix_sockets_posix.c \
@@ -3279,7 +3333,7 @@ LIBGRPC_CRONET_SRC = \
3279
3333
  src/core/lib/surface/completion_queue.c \
3280
3334
  src/core/lib/surface/completion_queue_factory.c \
3281
3335
  src/core/lib/surface/event_string.c \
3282
- src/core/lib/surface/lame_client.c \
3336
+ src/core/lib/surface/lame_client.cc \
3283
3337
  src/core/lib/surface/metadata_array.c \
3284
3338
  src/core/lib/surface/server.c \
3285
3339
  src/core/lib/surface/validate_metadata.c \
@@ -3297,6 +3351,7 @@ LIBGRPC_CRONET_SRC = \
3297
3351
  src/core/lib/transport/timeout_encoding.c \
3298
3352
  src/core/lib/transport/transport.c \
3299
3353
  src/core/lib/transport/transport_op_string.c \
3354
+ src/core/lib/debug/trace.c \
3300
3355
  src/core/ext/transport/cronet/client/secure/cronet_channel_create.c \
3301
3356
  src/core/ext/transport/cronet/transport/cronet_api_dummy.c \
3302
3357
  src/core/ext/transport/cronet/transport/cronet_transport.c \
@@ -3323,6 +3378,10 @@ LIBGRPC_CRONET_SRC = \
3323
3378
  src/core/ext/transport/chttp2/transport/varint.c \
3324
3379
  src/core/ext/transport/chttp2/transport/writing.c \
3325
3380
  src/core/ext/transport/chttp2/alpn/alpn.c \
3381
+ src/core/ext/filters/http/client/http_client_filter.c \
3382
+ src/core/ext/filters/http/http_filters_plugin.c \
3383
+ src/core/ext/filters/http/message_compress/message_compress_filter.c \
3384
+ src/core/ext/filters/http/server/http_server_filter.c \
3326
3385
  src/core/ext/filters/client_channel/channel_connectivity.c \
3327
3386
  src/core/ext/filters/client_channel/client_channel.c \
3328
3387
  src/core/ext/filters/client_channel/client_channel_factory.c \
@@ -3343,6 +3402,7 @@ LIBGRPC_CRONET_SRC = \
3343
3402
  src/core/ext/filters/client_channel/subchannel.c \
3344
3403
  src/core/ext/filters/client_channel/subchannel_index.c \
3345
3404
  src/core/ext/filters/client_channel/uri_parser.c \
3405
+ src/core/ext/filters/deadline/deadline_filter.c \
3346
3406
  src/core/lib/http/httpcli_security_connector.c \
3347
3407
  src/core/lib/security/context/security_context.c \
3348
3408
  src/core/lib/security/credentials/composite/composite_credentials.c \
@@ -3370,6 +3430,7 @@ LIBGRPC_CRONET_SRC = \
3370
3430
  src/core/tsi/fake_transport_security.c \
3371
3431
  src/core/tsi/ssl_transport_security.c \
3372
3432
  src/core/tsi/transport_security.c \
3433
+ src/core/tsi/transport_security_adapter.c \
3373
3434
  src/core/ext/transport/chttp2/client/chttp2_connector.c \
3374
3435
  src/core/ext/filters/load_reporting/load_reporting.c \
3375
3436
  src/core/ext/filters/load_reporting/load_reporting_filter.c \
@@ -3445,8 +3506,8 @@ $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(L
3445
3506
  ifeq ($(SYSTEM),Darwin)
3446
3507
  $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CRONET_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
3447
3508
  else
3448
- $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_cronet.so.3 -o $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CRONET_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
3449
- $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION_CORE).so.3
3509
+ $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_cronet.so.4 -o $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CRONET_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
3510
+ $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION_CORE).so.4
3450
3511
  $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION_CORE).so
3451
3512
  endif
3452
3513
  endif
@@ -3484,18 +3545,12 @@ LIBGRPC_TEST_UTIL_SRC = \
3484
3545
  src/core/lib/channel/channel_args.c \
3485
3546
  src/core/lib/channel/channel_stack.c \
3486
3547
  src/core/lib/channel/channel_stack_builder.c \
3487
- src/core/lib/channel/compress_filter.c \
3488
3548
  src/core/lib/channel/connected_channel.c \
3489
- src/core/lib/channel/deadline_filter.c \
3490
3549
  src/core/lib/channel/handshaker.c \
3491
3550
  src/core/lib/channel/handshaker_factory.c \
3492
3551
  src/core/lib/channel/handshaker_registry.c \
3493
- src/core/lib/channel/http_client_filter.c \
3494
- src/core/lib/channel/http_server_filter.c \
3495
- src/core/lib/channel/message_size_filter.c \
3496
3552
  src/core/lib/compression/compression.c \
3497
3553
  src/core/lib/compression/message_compress.c \
3498
- src/core/lib/debug/trace.c \
3499
3554
  src/core/lib/http/format_request.c \
3500
3555
  src/core/lib/http/httpcli.c \
3501
3556
  src/core/lib/http/parser.c \
@@ -3506,7 +3561,11 @@ LIBGRPC_TEST_UTIL_SRC = \
3506
3561
  src/core/lib/iomgr/endpoint_pair_uv.c \
3507
3562
  src/core/lib/iomgr/endpoint_pair_windows.c \
3508
3563
  src/core/lib/iomgr/error.c \
3509
- src/core/lib/iomgr/ev_epoll_linux.c \
3564
+ src/core/lib/iomgr/ev_epoll1_linux.c \
3565
+ src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c \
3566
+ src/core/lib/iomgr/ev_epoll_thread_pool_linux.c \
3567
+ src/core/lib/iomgr/ev_epollex_linux.c \
3568
+ src/core/lib/iomgr/ev_epollsig_linux.c \
3510
3569
  src/core/lib/iomgr/ev_poll_posix.c \
3511
3570
  src/core/lib/iomgr/ev_posix.c \
3512
3571
  src/core/lib/iomgr/exec_ctx.c \
@@ -3516,6 +3575,7 @@ LIBGRPC_TEST_UTIL_SRC = \
3516
3575
  src/core/lib/iomgr/iomgr_posix.c \
3517
3576
  src/core/lib/iomgr/iomgr_uv.c \
3518
3577
  src/core/lib/iomgr/iomgr_windows.c \
3578
+ src/core/lib/iomgr/is_epollexclusive_available.c \
3519
3579
  src/core/lib/iomgr/load_file.c \
3520
3580
  src/core/lib/iomgr/lockfree_event.c \
3521
3581
  src/core/lib/iomgr/network_status_tracker.c \
@@ -3552,6 +3612,7 @@ LIBGRPC_TEST_UTIL_SRC = \
3552
3612
  src/core/lib/iomgr/time_averaged_stats.c \
3553
3613
  src/core/lib/iomgr/timer_generic.c \
3554
3614
  src/core/lib/iomgr/timer_heap.c \
3615
+ src/core/lib/iomgr/timer_manager.c \
3555
3616
  src/core/lib/iomgr/timer_uv.c \
3556
3617
  src/core/lib/iomgr/udp_server.c \
3557
3618
  src/core/lib/iomgr/unix_sockets_posix.c \
@@ -3588,7 +3649,7 @@ LIBGRPC_TEST_UTIL_SRC = \
3588
3649
  src/core/lib/surface/completion_queue.c \
3589
3650
  src/core/lib/surface/completion_queue_factory.c \
3590
3651
  src/core/lib/surface/event_string.c \
3591
- src/core/lib/surface/lame_client.c \
3652
+ src/core/lib/surface/lame_client.cc \
3592
3653
  src/core/lib/surface/metadata_array.c \
3593
3654
  src/core/lib/surface/server.c \
3594
3655
  src/core/lib/surface/validate_metadata.c \
@@ -3606,6 +3667,7 @@ LIBGRPC_TEST_UTIL_SRC = \
3606
3667
  src/core/lib/transport/timeout_encoding.c \
3607
3668
  src/core/lib/transport/transport.c \
3608
3669
  src/core/lib/transport/transport_op_string.c \
3670
+ src/core/lib/debug/trace.c \
3609
3671
 
3610
3672
  PUBLIC_HEADERS_C += \
3611
3673
  include/grpc/byte_buffer.h \
@@ -3717,18 +3779,12 @@ LIBGRPC_UNSECURE_SRC = \
3717
3779
  src/core/lib/channel/channel_args.c \
3718
3780
  src/core/lib/channel/channel_stack.c \
3719
3781
  src/core/lib/channel/channel_stack_builder.c \
3720
- src/core/lib/channel/compress_filter.c \
3721
3782
  src/core/lib/channel/connected_channel.c \
3722
- src/core/lib/channel/deadline_filter.c \
3723
3783
  src/core/lib/channel/handshaker.c \
3724
3784
  src/core/lib/channel/handshaker_factory.c \
3725
3785
  src/core/lib/channel/handshaker_registry.c \
3726
- src/core/lib/channel/http_client_filter.c \
3727
- src/core/lib/channel/http_server_filter.c \
3728
- src/core/lib/channel/message_size_filter.c \
3729
3786
  src/core/lib/compression/compression.c \
3730
3787
  src/core/lib/compression/message_compress.c \
3731
- src/core/lib/debug/trace.c \
3732
3788
  src/core/lib/http/format_request.c \
3733
3789
  src/core/lib/http/httpcli.c \
3734
3790
  src/core/lib/http/parser.c \
@@ -3739,7 +3795,11 @@ LIBGRPC_UNSECURE_SRC = \
3739
3795
  src/core/lib/iomgr/endpoint_pair_uv.c \
3740
3796
  src/core/lib/iomgr/endpoint_pair_windows.c \
3741
3797
  src/core/lib/iomgr/error.c \
3742
- src/core/lib/iomgr/ev_epoll_linux.c \
3798
+ src/core/lib/iomgr/ev_epoll1_linux.c \
3799
+ src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c \
3800
+ src/core/lib/iomgr/ev_epoll_thread_pool_linux.c \
3801
+ src/core/lib/iomgr/ev_epollex_linux.c \
3802
+ src/core/lib/iomgr/ev_epollsig_linux.c \
3743
3803
  src/core/lib/iomgr/ev_poll_posix.c \
3744
3804
  src/core/lib/iomgr/ev_posix.c \
3745
3805
  src/core/lib/iomgr/exec_ctx.c \
@@ -3749,6 +3809,7 @@ LIBGRPC_UNSECURE_SRC = \
3749
3809
  src/core/lib/iomgr/iomgr_posix.c \
3750
3810
  src/core/lib/iomgr/iomgr_uv.c \
3751
3811
  src/core/lib/iomgr/iomgr_windows.c \
3812
+ src/core/lib/iomgr/is_epollexclusive_available.c \
3752
3813
  src/core/lib/iomgr/load_file.c \
3753
3814
  src/core/lib/iomgr/lockfree_event.c \
3754
3815
  src/core/lib/iomgr/network_status_tracker.c \
@@ -3785,6 +3846,7 @@ LIBGRPC_UNSECURE_SRC = \
3785
3846
  src/core/lib/iomgr/time_averaged_stats.c \
3786
3847
  src/core/lib/iomgr/timer_generic.c \
3787
3848
  src/core/lib/iomgr/timer_heap.c \
3849
+ src/core/lib/iomgr/timer_manager.c \
3788
3850
  src/core/lib/iomgr/timer_uv.c \
3789
3851
  src/core/lib/iomgr/udp_server.c \
3790
3852
  src/core/lib/iomgr/unix_sockets_posix.c \
@@ -3821,7 +3883,7 @@ LIBGRPC_UNSECURE_SRC = \
3821
3883
  src/core/lib/surface/completion_queue.c \
3822
3884
  src/core/lib/surface/completion_queue_factory.c \
3823
3885
  src/core/lib/surface/event_string.c \
3824
- src/core/lib/surface/lame_client.c \
3886
+ src/core/lib/surface/lame_client.cc \
3825
3887
  src/core/lib/surface/metadata_array.c \
3826
3888
  src/core/lib/surface/server.c \
3827
3889
  src/core/lib/surface/validate_metadata.c \
@@ -3839,6 +3901,7 @@ LIBGRPC_UNSECURE_SRC = \
3839
3901
  src/core/lib/transport/timeout_encoding.c \
3840
3902
  src/core/lib/transport/transport.c \
3841
3903
  src/core/lib/transport/transport_op_string.c \
3904
+ src/core/lib/debug/trace.c \
3842
3905
  src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \
3843
3906
  src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c \
3844
3907
  src/core/ext/transport/chttp2/transport/bin_decoder.c \
@@ -3863,6 +3926,10 @@ LIBGRPC_UNSECURE_SRC = \
3863
3926
  src/core/ext/transport/chttp2/transport/varint.c \
3864
3927
  src/core/ext/transport/chttp2/transport/writing.c \
3865
3928
  src/core/ext/transport/chttp2/alpn/alpn.c \
3929
+ src/core/ext/filters/http/client/http_client_filter.c \
3930
+ src/core/ext/filters/http/http_filters_plugin.c \
3931
+ src/core/ext/filters/http/message_compress/message_compress_filter.c \
3932
+ src/core/ext/filters/http/server/http_server_filter.c \
3866
3933
  src/core/ext/transport/chttp2/server/chttp2_server.c \
3867
3934
  src/core/ext/transport/chttp2/client/insecure/channel_create.c \
3868
3935
  src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c \
@@ -3887,6 +3954,7 @@ LIBGRPC_UNSECURE_SRC = \
3887
3954
  src/core/ext/filters/client_channel/subchannel.c \
3888
3955
  src/core/ext/filters/client_channel/subchannel_index.c \
3889
3956
  src/core/ext/filters/client_channel/uri_parser.c \
3957
+ src/core/ext/filters/deadline/deadline_filter.c \
3890
3958
  src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c \
3891
3959
  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c \
3892
3960
  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c \
@@ -3894,8 +3962,10 @@ LIBGRPC_UNSECURE_SRC = \
3894
3962
  src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c \
3895
3963
  src/core/ext/filters/load_reporting/load_reporting.c \
3896
3964
  src/core/ext/filters/load_reporting/load_reporting_filter.c \
3965
+ src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c \
3897
3966
  src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c \
3898
3967
  src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.c \
3968
+ src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c \
3899
3969
  src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c \
3900
3970
  src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c \
3901
3971
  third_party/nanopb/pb_common.c \
@@ -3918,6 +3988,7 @@ LIBGRPC_UNSECURE_SRC = \
3918
3988
  src/core/ext/census/trace_context.c \
3919
3989
  src/core/ext/census/tracing.c \
3920
3990
  src/core/ext/filters/max_age/max_age_filter.c \
3991
+ src/core/ext/filters/message_size/message_size_filter.c \
3921
3992
  src/core/plugin_registry/grpc_unsecure_plugin_registry.c \
3922
3993
 
3923
3994
  PUBLIC_HEADERS_C += \
@@ -3978,8 +4049,8 @@ $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $
3978
4049
  ifeq ($(SYSTEM),Darwin)
3979
4050
  $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
3980
4051
  else
3981
- $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.3 -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
3982
- $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so.3
4052
+ $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.4 -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS)
4053
+ $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so.4
3983
4054
  $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so
3984
4055
  endif
3985
4056
  endif
@@ -4112,18 +4183,12 @@ LIBGRPC++_SRC = \
4112
4183
  src/core/lib/channel/channel_args.c \
4113
4184
  src/core/lib/channel/channel_stack.c \
4114
4185
  src/core/lib/channel/channel_stack_builder.c \
4115
- src/core/lib/channel/compress_filter.c \
4116
4186
  src/core/lib/channel/connected_channel.c \
4117
- src/core/lib/channel/deadline_filter.c \
4118
4187
  src/core/lib/channel/handshaker.c \
4119
4188
  src/core/lib/channel/handshaker_factory.c \
4120
4189
  src/core/lib/channel/handshaker_registry.c \
4121
- src/core/lib/channel/http_client_filter.c \
4122
- src/core/lib/channel/http_server_filter.c \
4123
- src/core/lib/channel/message_size_filter.c \
4124
4190
  src/core/lib/compression/compression.c \
4125
4191
  src/core/lib/compression/message_compress.c \
4126
- src/core/lib/debug/trace.c \
4127
4192
  src/core/lib/http/format_request.c \
4128
4193
  src/core/lib/http/httpcli.c \
4129
4194
  src/core/lib/http/parser.c \
@@ -4134,7 +4199,11 @@ LIBGRPC++_SRC = \
4134
4199
  src/core/lib/iomgr/endpoint_pair_uv.c \
4135
4200
  src/core/lib/iomgr/endpoint_pair_windows.c \
4136
4201
  src/core/lib/iomgr/error.c \
4137
- src/core/lib/iomgr/ev_epoll_linux.c \
4202
+ src/core/lib/iomgr/ev_epoll1_linux.c \
4203
+ src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c \
4204
+ src/core/lib/iomgr/ev_epoll_thread_pool_linux.c \
4205
+ src/core/lib/iomgr/ev_epollex_linux.c \
4206
+ src/core/lib/iomgr/ev_epollsig_linux.c \
4138
4207
  src/core/lib/iomgr/ev_poll_posix.c \
4139
4208
  src/core/lib/iomgr/ev_posix.c \
4140
4209
  src/core/lib/iomgr/exec_ctx.c \
@@ -4144,6 +4213,7 @@ LIBGRPC++_SRC = \
4144
4213
  src/core/lib/iomgr/iomgr_posix.c \
4145
4214
  src/core/lib/iomgr/iomgr_uv.c \
4146
4215
  src/core/lib/iomgr/iomgr_windows.c \
4216
+ src/core/lib/iomgr/is_epollexclusive_available.c \
4147
4217
  src/core/lib/iomgr/load_file.c \
4148
4218
  src/core/lib/iomgr/lockfree_event.c \
4149
4219
  src/core/lib/iomgr/network_status_tracker.c \
@@ -4180,6 +4250,7 @@ LIBGRPC++_SRC = \
4180
4250
  src/core/lib/iomgr/time_averaged_stats.c \
4181
4251
  src/core/lib/iomgr/timer_generic.c \
4182
4252
  src/core/lib/iomgr/timer_heap.c \
4253
+ src/core/lib/iomgr/timer_manager.c \
4183
4254
  src/core/lib/iomgr/timer_uv.c \
4184
4255
  src/core/lib/iomgr/udp_server.c \
4185
4256
  src/core/lib/iomgr/unix_sockets_posix.c \
@@ -4216,7 +4287,7 @@ LIBGRPC++_SRC = \
4216
4287
  src/core/lib/surface/completion_queue.c \
4217
4288
  src/core/lib/surface/completion_queue_factory.c \
4218
4289
  src/core/lib/surface/event_string.c \
4219
- src/core/lib/surface/lame_client.c \
4290
+ src/core/lib/surface/lame_client.cc \
4220
4291
  src/core/lib/surface/metadata_array.c \
4221
4292
  src/core/lib/surface/server.c \
4222
4293
  src/core/lib/surface/validate_metadata.c \
@@ -4234,6 +4305,7 @@ LIBGRPC++_SRC = \
4234
4305
  src/core/lib/transport/timeout_encoding.c \
4235
4306
  src/core/lib/transport/transport.c \
4236
4307
  src/core/lib/transport/transport_op_string.c \
4308
+ src/core/lib/debug/trace.c \
4237
4309
  third_party/nanopb/pb_common.c \
4238
4310
  third_party/nanopb/pb_decode.c \
4239
4311
  third_party/nanopb/pb_encode.c \
@@ -4310,7 +4382,6 @@ PUBLIC_HEADERS_CXX += \
4310
4382
  include/grpc++/impl/codegen/slice.h \
4311
4383
  include/grpc++/impl/codegen/status.h \
4312
4384
  include/grpc++/impl/codegen/status_code_enum.h \
4313
- include/grpc++/impl/codegen/status_helper.h \
4314
4385
  include/grpc++/impl/codegen/string_ref.h \
4315
4386
  include/grpc++/impl/codegen/stub_options.h \
4316
4387
  include/grpc++/impl/codegen/sync_stream.h \
@@ -4451,18 +4522,12 @@ LIBGRPC++_CRONET_SRC = \
4451
4522
  src/core/lib/channel/channel_args.c \
4452
4523
  src/core/lib/channel/channel_stack.c \
4453
4524
  src/core/lib/channel/channel_stack_builder.c \
4454
- src/core/lib/channel/compress_filter.c \
4455
4525
  src/core/lib/channel/connected_channel.c \
4456
- src/core/lib/channel/deadline_filter.c \
4457
4526
  src/core/lib/channel/handshaker.c \
4458
4527
  src/core/lib/channel/handshaker_factory.c \
4459
4528
  src/core/lib/channel/handshaker_registry.c \
4460
- src/core/lib/channel/http_client_filter.c \
4461
- src/core/lib/channel/http_server_filter.c \
4462
- src/core/lib/channel/message_size_filter.c \
4463
4529
  src/core/lib/compression/compression.c \
4464
4530
  src/core/lib/compression/message_compress.c \
4465
- src/core/lib/debug/trace.c \
4466
4531
  src/core/lib/http/format_request.c \
4467
4532
  src/core/lib/http/httpcli.c \
4468
4533
  src/core/lib/http/parser.c \
@@ -4473,7 +4538,11 @@ LIBGRPC++_CRONET_SRC = \
4473
4538
  src/core/lib/iomgr/endpoint_pair_uv.c \
4474
4539
  src/core/lib/iomgr/endpoint_pair_windows.c \
4475
4540
  src/core/lib/iomgr/error.c \
4476
- src/core/lib/iomgr/ev_epoll_linux.c \
4541
+ src/core/lib/iomgr/ev_epoll1_linux.c \
4542
+ src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c \
4543
+ src/core/lib/iomgr/ev_epoll_thread_pool_linux.c \
4544
+ src/core/lib/iomgr/ev_epollex_linux.c \
4545
+ src/core/lib/iomgr/ev_epollsig_linux.c \
4477
4546
  src/core/lib/iomgr/ev_poll_posix.c \
4478
4547
  src/core/lib/iomgr/ev_posix.c \
4479
4548
  src/core/lib/iomgr/exec_ctx.c \
@@ -4483,6 +4552,7 @@ LIBGRPC++_CRONET_SRC = \
4483
4552
  src/core/lib/iomgr/iomgr_posix.c \
4484
4553
  src/core/lib/iomgr/iomgr_uv.c \
4485
4554
  src/core/lib/iomgr/iomgr_windows.c \
4555
+ src/core/lib/iomgr/is_epollexclusive_available.c \
4486
4556
  src/core/lib/iomgr/load_file.c \
4487
4557
  src/core/lib/iomgr/lockfree_event.c \
4488
4558
  src/core/lib/iomgr/network_status_tracker.c \
@@ -4519,6 +4589,7 @@ LIBGRPC++_CRONET_SRC = \
4519
4589
  src/core/lib/iomgr/time_averaged_stats.c \
4520
4590
  src/core/lib/iomgr/timer_generic.c \
4521
4591
  src/core/lib/iomgr/timer_heap.c \
4592
+ src/core/lib/iomgr/timer_manager.c \
4522
4593
  src/core/lib/iomgr/timer_uv.c \
4523
4594
  src/core/lib/iomgr/udp_server.c \
4524
4595
  src/core/lib/iomgr/unix_sockets_posix.c \
@@ -4555,7 +4626,7 @@ LIBGRPC++_CRONET_SRC = \
4555
4626
  src/core/lib/surface/completion_queue.c \
4556
4627
  src/core/lib/surface/completion_queue_factory.c \
4557
4628
  src/core/lib/surface/event_string.c \
4558
- src/core/lib/surface/lame_client.c \
4629
+ src/core/lib/surface/lame_client.cc \
4559
4630
  src/core/lib/surface/metadata_array.c \
4560
4631
  src/core/lib/surface/server.c \
4561
4632
  src/core/lib/surface/validate_metadata.c \
@@ -4573,6 +4644,7 @@ LIBGRPC++_CRONET_SRC = \
4573
4644
  src/core/lib/transport/timeout_encoding.c \
4574
4645
  src/core/lib/transport/transport.c \
4575
4646
  src/core/lib/transport/transport_op_string.c \
4647
+ src/core/lib/debug/trace.c \
4576
4648
  third_party/nanopb/pb_common.c \
4577
4649
  third_party/nanopb/pb_decode.c \
4578
4650
  third_party/nanopb/pb_encode.c \
@@ -4602,6 +4674,10 @@ LIBGRPC++_CRONET_SRC = \
4602
4674
  src/core/ext/transport/chttp2/transport/varint.c \
4603
4675
  src/core/ext/transport/chttp2/transport/writing.c \
4604
4676
  src/core/ext/transport/chttp2/alpn/alpn.c \
4677
+ src/core/ext/filters/http/client/http_client_filter.c \
4678
+ src/core/ext/filters/http/http_filters_plugin.c \
4679
+ src/core/ext/filters/http/message_compress/message_compress_filter.c \
4680
+ src/core/ext/filters/http/server/http_server_filter.c \
4605
4681
  src/core/ext/filters/client_channel/channel_connectivity.c \
4606
4682
  src/core/ext/filters/client_channel/client_channel.c \
4607
4683
  src/core/ext/filters/client_channel/client_channel_factory.c \
@@ -4622,6 +4698,7 @@ LIBGRPC++_CRONET_SRC = \
4622
4698
  src/core/ext/filters/client_channel/subchannel.c \
4623
4699
  src/core/ext/filters/client_channel/subchannel_index.c \
4624
4700
  src/core/ext/filters/client_channel/uri_parser.c \
4701
+ src/core/ext/filters/deadline/deadline_filter.c \
4625
4702
  src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \
4626
4703
  src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c \
4627
4704
  src/core/ext/transport/chttp2/server/chttp2_server.c \
@@ -4711,7 +4788,6 @@ PUBLIC_HEADERS_CXX += \
4711
4788
  include/grpc++/impl/codegen/slice.h \
4712
4789
  include/grpc++/impl/codegen/status.h \
4713
4790
  include/grpc++/impl/codegen/status_code_enum.h \
4714
- include/grpc++/impl/codegen/status_helper.h \
4715
4791
  include/grpc++/impl/codegen/string_ref.h \
4716
4792
  include/grpc++/impl/codegen/stub_options.h \
4717
4793
  include/grpc++/impl/codegen/sync_stream.h \
@@ -5094,7 +5170,6 @@ PUBLIC_HEADERS_CXX += \
5094
5170
  include/grpc++/impl/codegen/slice.h \
5095
5171
  include/grpc++/impl/codegen/status.h \
5096
5172
  include/grpc++/impl/codegen/status_code_enum.h \
5097
- include/grpc++/impl/codegen/status_helper.h \
5098
5173
  include/grpc++/impl/codegen/string_ref.h \
5099
5174
  include/grpc++/impl/codegen/stub_options.h \
5100
5175
  include/grpc++/impl/codegen/sync_stream.h \
@@ -5120,8 +5195,6 @@ PUBLIC_HEADERS_CXX += \
5120
5195
  include/grpc/impl/codegen/sync_windows.h \
5121
5196
  include/grpc++/impl/codegen/proto_utils.h \
5122
5197
  include/grpc++/impl/codegen/config_protobuf.h \
5123
- include/grpc++/impl/codegen/thrift_serializer.h \
5124
- include/grpc++/impl/codegen/thrift_utils.h \
5125
5198
 
5126
5199
  LIBGRPC++_TEST_UTIL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_UTIL_SRC))))
5127
5200
 
@@ -5214,18 +5287,12 @@ LIBGRPC++_UNSECURE_SRC = \
5214
5287
  src/core/lib/channel/channel_args.c \
5215
5288
  src/core/lib/channel/channel_stack.c \
5216
5289
  src/core/lib/channel/channel_stack_builder.c \
5217
- src/core/lib/channel/compress_filter.c \
5218
5290
  src/core/lib/channel/connected_channel.c \
5219
- src/core/lib/channel/deadline_filter.c \
5220
5291
  src/core/lib/channel/handshaker.c \
5221
5292
  src/core/lib/channel/handshaker_factory.c \
5222
5293
  src/core/lib/channel/handshaker_registry.c \
5223
- src/core/lib/channel/http_client_filter.c \
5224
- src/core/lib/channel/http_server_filter.c \
5225
- src/core/lib/channel/message_size_filter.c \
5226
5294
  src/core/lib/compression/compression.c \
5227
5295
  src/core/lib/compression/message_compress.c \
5228
- src/core/lib/debug/trace.c \
5229
5296
  src/core/lib/http/format_request.c \
5230
5297
  src/core/lib/http/httpcli.c \
5231
5298
  src/core/lib/http/parser.c \
@@ -5236,7 +5303,11 @@ LIBGRPC++_UNSECURE_SRC = \
5236
5303
  src/core/lib/iomgr/endpoint_pair_uv.c \
5237
5304
  src/core/lib/iomgr/endpoint_pair_windows.c \
5238
5305
  src/core/lib/iomgr/error.c \
5239
- src/core/lib/iomgr/ev_epoll_linux.c \
5306
+ src/core/lib/iomgr/ev_epoll1_linux.c \
5307
+ src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c \
5308
+ src/core/lib/iomgr/ev_epoll_thread_pool_linux.c \
5309
+ src/core/lib/iomgr/ev_epollex_linux.c \
5310
+ src/core/lib/iomgr/ev_epollsig_linux.c \
5240
5311
  src/core/lib/iomgr/ev_poll_posix.c \
5241
5312
  src/core/lib/iomgr/ev_posix.c \
5242
5313
  src/core/lib/iomgr/exec_ctx.c \
@@ -5246,6 +5317,7 @@ LIBGRPC++_UNSECURE_SRC = \
5246
5317
  src/core/lib/iomgr/iomgr_posix.c \
5247
5318
  src/core/lib/iomgr/iomgr_uv.c \
5248
5319
  src/core/lib/iomgr/iomgr_windows.c \
5320
+ src/core/lib/iomgr/is_epollexclusive_available.c \
5249
5321
  src/core/lib/iomgr/load_file.c \
5250
5322
  src/core/lib/iomgr/lockfree_event.c \
5251
5323
  src/core/lib/iomgr/network_status_tracker.c \
@@ -5282,6 +5354,7 @@ LIBGRPC++_UNSECURE_SRC = \
5282
5354
  src/core/lib/iomgr/time_averaged_stats.c \
5283
5355
  src/core/lib/iomgr/timer_generic.c \
5284
5356
  src/core/lib/iomgr/timer_heap.c \
5357
+ src/core/lib/iomgr/timer_manager.c \
5285
5358
  src/core/lib/iomgr/timer_uv.c \
5286
5359
  src/core/lib/iomgr/udp_server.c \
5287
5360
  src/core/lib/iomgr/unix_sockets_posix.c \
@@ -5318,7 +5391,7 @@ LIBGRPC++_UNSECURE_SRC = \
5318
5391
  src/core/lib/surface/completion_queue.c \
5319
5392
  src/core/lib/surface/completion_queue_factory.c \
5320
5393
  src/core/lib/surface/event_string.c \
5321
- src/core/lib/surface/lame_client.c \
5394
+ src/core/lib/surface/lame_client.cc \
5322
5395
  src/core/lib/surface/metadata_array.c \
5323
5396
  src/core/lib/surface/server.c \
5324
5397
  src/core/lib/surface/validate_metadata.c \
@@ -5336,6 +5409,7 @@ LIBGRPC++_UNSECURE_SRC = \
5336
5409
  src/core/lib/transport/timeout_encoding.c \
5337
5410
  src/core/lib/transport/transport.c \
5338
5411
  src/core/lib/transport/transport_op_string.c \
5412
+ src/core/lib/debug/trace.c \
5339
5413
  third_party/nanopb/pb_common.c \
5340
5414
  third_party/nanopb/pb_decode.c \
5341
5415
  third_party/nanopb/pb_encode.c \
@@ -5412,7 +5486,6 @@ PUBLIC_HEADERS_CXX += \
5412
5486
  include/grpc++/impl/codegen/slice.h \
5413
5487
  include/grpc++/impl/codegen/status.h \
5414
5488
  include/grpc++/impl/codegen/status_code_enum.h \
5415
- include/grpc++/impl/codegen/status_helper.h \
5416
5489
  include/grpc++/impl/codegen/string_ref.h \
5417
5490
  include/grpc++/impl/codegen/stub_options.h \
5418
5491
  include/grpc++/impl/codegen/sync_stream.h \
@@ -8962,6 +9035,38 @@ endif
8962
9035
  endif
8963
9036
 
8964
9037
 
9038
+ CHECK_EPOLLEXCLUSIVE_SRC = \
9039
+ test/build/check_epollexclusive.c \
9040
+
9041
+ CHECK_EPOLLEXCLUSIVE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHECK_EPOLLEXCLUSIVE_SRC))))
9042
+ ifeq ($(NO_SECURE),true)
9043
+
9044
+ # You can't build secure targets if you don't have OpenSSL.
9045
+
9046
+ $(BINDIR)/$(CONFIG)/check_epollexclusive: openssl_dep_error
9047
+
9048
+ else
9049
+
9050
+
9051
+
9052
+ $(BINDIR)/$(CONFIG)/check_epollexclusive: $(CHECK_EPOLLEXCLUSIVE_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a
9053
+ $(E) "[LD] Linking $@"
9054
+ $(Q) mkdir -p `dirname $@`
9055
+ $(Q) $(LD) $(LDFLAGS) $(CHECK_EPOLLEXCLUSIVE_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/check_epollexclusive
9056
+
9057
+ endif
9058
+
9059
+ $(OBJDIR)/$(CONFIG)/test/build/check_epollexclusive.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a
9060
+
9061
+ deps_check_epollexclusive: $(CHECK_EPOLLEXCLUSIVE_OBJS:.o=.dep)
9062
+
9063
+ ifneq ($(NO_SECURE),true)
9064
+ ifneq ($(NO_DEPS),true)
9065
+ -include $(CHECK_EPOLLEXCLUSIVE_OBJS:.o=.dep)
9066
+ endif
9067
+ endif
9068
+
9069
+
8965
9070
  CHTTP2_HPACK_ENCODER_TEST_SRC = \
8966
9071
  test/core/transport/chttp2/hpack_encoder_test.c \
8967
9072
 
@@ -9378,34 +9483,66 @@ endif
9378
9483
  endif
9379
9484
 
9380
9485
 
9381
- EV_EPOLL_LINUX_TEST_SRC = \
9382
- test/core/iomgr/ev_epoll_linux_test.c \
9486
+ EV_EPOLLSIG_LINUX_TEST_SRC = \
9487
+ test/core/iomgr/ev_epollsig_linux_test.c \
9488
+
9489
+ EV_EPOLLSIG_LINUX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(EV_EPOLLSIG_LINUX_TEST_SRC))))
9490
+ ifeq ($(NO_SECURE),true)
9491
+
9492
+ # You can't build secure targets if you don't have OpenSSL.
9493
+
9494
+ $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test: openssl_dep_error
9495
+
9496
+ else
9497
+
9498
+
9499
+
9500
+ $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test: $(EV_EPOLLSIG_LINUX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
9501
+ $(E) "[LD] Linking $@"
9502
+ $(Q) mkdir -p `dirname $@`
9503
+ $(Q) $(LD) $(LDFLAGS) $(EV_EPOLLSIG_LINUX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test
9504
+
9505
+ endif
9506
+
9507
+ $(OBJDIR)/$(CONFIG)/test/core/iomgr/ev_epollsig_linux_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
9508
+
9509
+ deps_ev_epollsig_linux_test: $(EV_EPOLLSIG_LINUX_TEST_OBJS:.o=.dep)
9510
+
9511
+ ifneq ($(NO_SECURE),true)
9512
+ ifneq ($(NO_DEPS),true)
9513
+ -include $(EV_EPOLLSIG_LINUX_TEST_OBJS:.o=.dep)
9514
+ endif
9515
+ endif
9516
+
9517
+
9518
+ FAKE_RESOLVER_TEST_SRC = \
9519
+ test/core/client_channel/resolvers/fake_resolver_test.c \
9383
9520
 
9384
- EV_EPOLL_LINUX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(EV_EPOLL_LINUX_TEST_SRC))))
9521
+ FAKE_RESOLVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FAKE_RESOLVER_TEST_SRC))))
9385
9522
  ifeq ($(NO_SECURE),true)
9386
9523
 
9387
9524
  # You can't build secure targets if you don't have OpenSSL.
9388
9525
 
9389
- $(BINDIR)/$(CONFIG)/ev_epoll_linux_test: openssl_dep_error
9526
+ $(BINDIR)/$(CONFIG)/fake_resolver_test: openssl_dep_error
9390
9527
 
9391
9528
  else
9392
9529
 
9393
9530
 
9394
9531
 
9395
- $(BINDIR)/$(CONFIG)/ev_epoll_linux_test: $(EV_EPOLL_LINUX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
9532
+ $(BINDIR)/$(CONFIG)/fake_resolver_test: $(FAKE_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
9396
9533
  $(E) "[LD] Linking $@"
9397
9534
  $(Q) mkdir -p `dirname $@`
9398
- $(Q) $(LD) $(LDFLAGS) $(EV_EPOLL_LINUX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/ev_epoll_linux_test
9535
+ $(Q) $(LD) $(LDFLAGS) $(FAKE_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/fake_resolver_test
9399
9536
 
9400
9537
  endif
9401
9538
 
9402
- $(OBJDIR)/$(CONFIG)/test/core/iomgr/ev_epoll_linux_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
9539
+ $(OBJDIR)/$(CONFIG)/test/core/client_channel/resolvers/fake_resolver_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
9403
9540
 
9404
- deps_ev_epoll_linux_test: $(EV_EPOLL_LINUX_TEST_OBJS:.o=.dep)
9541
+ deps_fake_resolver_test: $(FAKE_RESOLVER_TEST_OBJS:.o=.dep)
9405
9542
 
9406
9543
  ifneq ($(NO_SECURE),true)
9407
9544
  ifneq ($(NO_DEPS),true)
9408
- -include $(EV_EPOLL_LINUX_TEST_OBJS:.o=.dep)
9545
+ -include $(FAKE_RESOLVER_TEST_OBJS:.o=.dep)
9409
9546
  endif
9410
9547
  endif
9411
9548
 
@@ -11618,6 +11755,38 @@ endif
11618
11755
  endif
11619
11756
 
11620
11757
 
11758
+ MINIMAL_STACK_IS_MINIMAL_TEST_SRC = \
11759
+ test/core/channel/minimal_stack_is_minimal_test.c \
11760
+
11761
+ MINIMAL_STACK_IS_MINIMAL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MINIMAL_STACK_IS_MINIMAL_TEST_SRC))))
11762
+ ifeq ($(NO_SECURE),true)
11763
+
11764
+ # You can't build secure targets if you don't have OpenSSL.
11765
+
11766
+ $(BINDIR)/$(CONFIG)/minimal_stack_is_minimal_test: openssl_dep_error
11767
+
11768
+ else
11769
+
11770
+
11771
+
11772
+ $(BINDIR)/$(CONFIG)/minimal_stack_is_minimal_test: $(MINIMAL_STACK_IS_MINIMAL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
11773
+ $(E) "[LD] Linking $@"
11774
+ $(Q) mkdir -p `dirname $@`
11775
+ $(Q) $(LD) $(LDFLAGS) $(MINIMAL_STACK_IS_MINIMAL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/minimal_stack_is_minimal_test
11776
+
11777
+ endif
11778
+
11779
+ $(OBJDIR)/$(CONFIG)/test/core/channel/minimal_stack_is_minimal_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
11780
+
11781
+ deps_minimal_stack_is_minimal_test: $(MINIMAL_STACK_IS_MINIMAL_TEST_OBJS:.o=.dep)
11782
+
11783
+ ifneq ($(NO_SECURE),true)
11784
+ ifneq ($(NO_DEPS),true)
11785
+ -include $(MINIMAL_STACK_IS_MINIMAL_TEST_OBJS:.o=.dep)
11786
+ endif
11787
+ endif
11788
+
11789
+
11621
11790
  MLOG_TEST_SRC = \
11622
11791
  test/core/census/mlog_test.c \
11623
11792
 
@@ -12290,6 +12459,38 @@ endif
12290
12459
  endif
12291
12460
 
12292
12461
 
12462
+ SLICE_HASH_TABLE_TEST_SRC = \
12463
+ test/core/slice/slice_hash_table_test.c \
12464
+
12465
+ SLICE_HASH_TABLE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SLICE_HASH_TABLE_TEST_SRC))))
12466
+ ifeq ($(NO_SECURE),true)
12467
+
12468
+ # You can't build secure targets if you don't have OpenSSL.
12469
+
12470
+ $(BINDIR)/$(CONFIG)/slice_hash_table_test: openssl_dep_error
12471
+
12472
+ else
12473
+
12474
+
12475
+
12476
+ $(BINDIR)/$(CONFIG)/slice_hash_table_test: $(SLICE_HASH_TABLE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
12477
+ $(E) "[LD] Linking $@"
12478
+ $(Q) mkdir -p `dirname $@`
12479
+ $(Q) $(LD) $(LDFLAGS) $(SLICE_HASH_TABLE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/slice_hash_table_test
12480
+
12481
+ endif
12482
+
12483
+ $(OBJDIR)/$(CONFIG)/test/core/slice/slice_hash_table_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
12484
+
12485
+ deps_slice_hash_table_test: $(SLICE_HASH_TABLE_TEST_OBJS:.o=.dep)
12486
+
12487
+ ifneq ($(NO_SECURE),true)
12488
+ ifneq ($(NO_DEPS),true)
12489
+ -include $(SLICE_HASH_TABLE_TEST_OBJS:.o=.dep)
12490
+ endif
12491
+ endif
12492
+
12493
+
12293
12494
  SLICE_STRING_HELPERS_TEST_SRC = \
12294
12495
  test/core/slice/slice_string_helpers_test.c \
12295
12496
 
@@ -14138,28 +14339,28 @@ $(BINDIR)/$(CONFIG)/codegen_test_minimal: protobuf_dep_error
14138
14339
 
14139
14340
  else
14140
14341
 
14141
- $(BINDIR)/$(CONFIG)/codegen_test_minimal: $(PROTOBUF_DEP) $(CODEGEN_TEST_MINIMAL_OBJS)
14342
+ $(BINDIR)/$(CONFIG)/codegen_test_minimal: $(PROTOBUF_DEP) $(CODEGEN_TEST_MINIMAL_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a
14142
14343
  $(E) "[LD] Linking $@"
14143
14344
  $(Q) mkdir -p `dirname $@`
14144
- $(Q) $(LDXX) $(LDFLAGS) $(CODEGEN_TEST_MINIMAL_OBJS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/codegen_test_minimal
14345
+ $(Q) $(LDXX) $(LDFLAGS) $(CODEGEN_TEST_MINIMAL_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/codegen_test_minimal
14145
14346
 
14146
14347
  endif
14147
14348
 
14148
14349
  endif
14149
14350
 
14150
- $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/control.o:
14351
+ $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/control.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a
14151
14352
 
14152
- $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/messages.o:
14353
+ $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/messages.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a
14153
14354
 
14154
- $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/payloads.o:
14355
+ $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/payloads.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a
14155
14356
 
14156
- $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/services.o:
14357
+ $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/services.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a
14157
14358
 
14158
- $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/stats.o:
14359
+ $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/stats.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a
14159
14360
 
14160
- $(OBJDIR)/$(CONFIG)/test/cpp/codegen/codegen_test_minimal.o:
14361
+ $(OBJDIR)/$(CONFIG)/test/cpp/codegen/codegen_test_minimal.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a
14161
14362
 
14162
- $(OBJDIR)/$(CONFIG)/src/cpp/codegen/codegen_init.o:
14363
+ $(OBJDIR)/$(CONFIG)/src/cpp/codegen/codegen_init.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a
14163
14364
 
14164
14365
  deps_codegen_test_minimal: $(CODEGEN_TEST_MINIMAL_OBJS:.o=.dep)
14165
14366
 
@@ -14967,6 +15168,53 @@ endif
14967
15168
  $(OBJDIR)/$(CONFIG)/test/cpp/grpclb/grpclb_api_test.o: $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc
14968
15169
 
14969
15170
 
15171
+ GRPCLB_END2END_TEST_SRC = \
15172
+ $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc \
15173
+ test/cpp/end2end/grpclb_end2end_test.cc \
15174
+
15175
+ GRPCLB_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPCLB_END2END_TEST_SRC))))
15176
+ ifeq ($(NO_SECURE),true)
15177
+
15178
+ # You can't build secure targets if you don't have OpenSSL.
15179
+
15180
+ $(BINDIR)/$(CONFIG)/grpclb_end2end_test: openssl_dep_error
15181
+
15182
+ else
15183
+
15184
+
15185
+
15186
+
15187
+ ifeq ($(NO_PROTOBUF),true)
15188
+
15189
+ # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+.
15190
+
15191
+ $(BINDIR)/$(CONFIG)/grpclb_end2end_test: protobuf_dep_error
15192
+
15193
+ else
15194
+
15195
+ $(BINDIR)/$(CONFIG)/grpclb_end2end_test: $(PROTOBUF_DEP) $(GRPCLB_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
15196
+ $(E) "[LD] Linking $@"
15197
+ $(Q) mkdir -p `dirname $@`
15198
+ $(Q) $(LDXX) $(LDFLAGS) $(GRPCLB_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/grpclb_end2end_test
15199
+
15200
+ endif
15201
+
15202
+ endif
15203
+
15204
+ $(OBJDIR)/$(CONFIG)/src/proto/grpc/lb/v1/load_balancer.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
15205
+
15206
+ $(OBJDIR)/$(CONFIG)/test/cpp/end2end/grpclb_end2end_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
15207
+
15208
+ deps_grpclb_end2end_test: $(GRPCLB_END2END_TEST_OBJS:.o=.dep)
15209
+
15210
+ ifneq ($(NO_SECURE),true)
15211
+ ifneq ($(NO_DEPS),true)
15212
+ -include $(GRPCLB_END2END_TEST_OBJS:.o=.dep)
15213
+ endif
15214
+ endif
15215
+ $(OBJDIR)/$(CONFIG)/test/cpp/end2end/grpclb_end2end_test.o: $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc
15216
+
15217
+
14970
15218
  GRPCLB_TEST_SRC = \
14971
15219
  $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc \
14972
15220
  test/cpp/grpclb/grpclb_test.cc \
@@ -15279,6 +15527,49 @@ endif
15279
15527
  endif
15280
15528
 
15281
15529
 
15530
+ MEMORY_TEST_SRC = \
15531
+ test/core/support/memory_test.cc \
15532
+
15533
+ MEMORY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MEMORY_TEST_SRC))))
15534
+ ifeq ($(NO_SECURE),true)
15535
+
15536
+ # You can't build secure targets if you don't have OpenSSL.
15537
+
15538
+ $(BINDIR)/$(CONFIG)/memory_test: openssl_dep_error
15539
+
15540
+ else
15541
+
15542
+
15543
+
15544
+
15545
+ ifeq ($(NO_PROTOBUF),true)
15546
+
15547
+ # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+.
15548
+
15549
+ $(BINDIR)/$(CONFIG)/memory_test: protobuf_dep_error
15550
+
15551
+ else
15552
+
15553
+ $(BINDIR)/$(CONFIG)/memory_test: $(PROTOBUF_DEP) $(MEMORY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
15554
+ $(E) "[LD] Linking $@"
15555
+ $(Q) mkdir -p `dirname $@`
15556
+ $(Q) $(LDXX) $(LDFLAGS) $(MEMORY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/memory_test
15557
+
15558
+ endif
15559
+
15560
+ endif
15561
+
15562
+ $(OBJDIR)/$(CONFIG)/test/core/support/memory_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
15563
+
15564
+ deps_memory_test: $(MEMORY_TEST_OBJS:.o=.dep)
15565
+
15566
+ ifneq ($(NO_SECURE),true)
15567
+ ifneq ($(NO_DEPS),true)
15568
+ -include $(MEMORY_TEST_OBJS:.o=.dep)
15569
+ endif
15570
+ endif
15571
+
15572
+
15282
15573
  METRICS_CLIENT_SRC = \
15283
15574
  $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc \
15284
15575
  test/cpp/interop/metrics_client.cc \
@@ -19422,6 +19713,7 @@ src/core/plugin_registry/grpc_plugin_registry.c: $(OPENSSL_DEP)
19422
19713
  src/core/tsi/fake_transport_security.c: $(OPENSSL_DEP)
19423
19714
  src/core/tsi/ssl_transport_security.c: $(OPENSSL_DEP)
19424
19715
  src/core/tsi/transport_security.c: $(OPENSSL_DEP)
19716
+ src/core/tsi/transport_security_adapter.c: $(OPENSSL_DEP)
19425
19717
  src/cpp/client/cronet_credentials.cc: $(OPENSSL_DEP)
19426
19718
  src/cpp/client/secure_credentials.cc: $(OPENSSL_DEP)
19427
19719
  src/cpp/common/auth_property_iterator.cc: $(OPENSSL_DEP)