grpc 1.8.7 → 1.9.0.pre1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of grpc might be problematic. Click here for more details.

Files changed (488) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +549 -325
  3. data/include/grpc/impl/codegen/grpc_types.h +1 -2
  4. data/include/grpc/impl/codegen/port_platform.h +46 -5
  5. data/include/grpc/impl/codegen/slice.h +1 -2
  6. data/include/grpc/module.modulemap +0 -2
  7. data/include/grpc/slice_buffer.h +1 -2
  8. data/include/grpc/support/log.h +4 -2
  9. data/include/grpc/support/thd.h +4 -1
  10. data/include/grpc/support/tls.h +6 -0
  11. data/include/grpc/support/tls_gcc.h +5 -40
  12. data/include/grpc/support/tls_msvc.h +9 -0
  13. data/include/grpc/support/tls_pthread.h +9 -0
  14. data/src/core/ext/filters/client_channel/backup_poller.cc +32 -29
  15. data/src/core/ext/filters/client_channel/backup_poller.h +2 -2
  16. data/src/core/ext/filters/client_channel/channel_connectivity.cc +26 -32
  17. data/src/core/ext/filters/client_channel/client_channel.cc +325 -356
  18. data/src/core/ext/filters/client_channel/client_channel.h +4 -12
  19. data/src/core/ext/filters/client_channel/client_channel_factory.cc +9 -14
  20. data/src/core/ext/filters/client_channel/client_channel_factory.h +7 -20
  21. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +7 -10
  22. data/src/core/ext/filters/client_channel/connector.cc +6 -7
  23. data/src/core/ext/filters/client_channel/connector.h +6 -16
  24. data/src/core/ext/filters/client_channel/http_connect_handshaker.cc +38 -50
  25. data/src/core/ext/filters/client_channel/http_connect_handshaker.h +0 -8
  26. data/src/core/ext/filters/client_channel/http_proxy.cc +9 -13
  27. data/src/core/ext/filters/client_channel/http_proxy.h +0 -8
  28. data/src/core/ext/filters/client_channel/lb_policy.cc +72 -94
  29. data/src/core/ext/filters/client_channel/lb_policy.h +83 -92
  30. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +14 -19
  31. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +0 -8
  32. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +474 -591
  33. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +0 -8
  34. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h +2 -10
  35. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc +6 -6
  36. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +0 -8
  37. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +0 -9
  38. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +0 -9
  39. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c +3 -4
  40. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h +9 -12
  41. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +160 -182
  42. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +182 -221
  43. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc +24 -35
  44. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +9 -20
  45. data/src/core/ext/filters/client_channel/lb_policy_factory.cc +6 -9
  46. data/src/core/ext/filters/client_channel/lb_policy_factory.h +4 -15
  47. data/src/core/ext/filters/client_channel/lb_policy_registry.cc +3 -3
  48. data/src/core/ext/filters/client_channel/lb_policy_registry.h +1 -9
  49. data/src/core/ext/filters/client_channel/parse_address.cc +1 -1
  50. data/src/core/ext/filters/client_channel/parse_address.h +0 -8
  51. data/src/core/ext/filters/client_channel/proxy_mapper.cc +6 -8
  52. data/src/core/ext/filters/client_channel/proxy_mapper.h +6 -16
  53. data/src/core/ext/filters/client_channel/proxy_mapper_registry.cc +13 -17
  54. data/src/core/ext/filters/client_channel/proxy_mapper_registry.h +2 -12
  55. data/src/core/ext/filters/client_channel/resolver.cc +11 -13
  56. data/src/core/ext/filters/client_channel/resolver.h +14 -25
  57. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +57 -70
  58. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +2 -12
  59. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +23 -31
  60. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +27 -45
  61. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +5 -15
  62. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc +9 -11
  63. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +53 -66
  64. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +25 -33
  65. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +1 -9
  66. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +26 -35
  67. data/src/core/ext/filters/client_channel/resolver_factory.cc +2 -3
  68. data/src/core/ext/filters/client_channel/resolver_factory.h +2 -12
  69. data/src/core/ext/filters/client_channel/resolver_registry.cc +12 -15
  70. data/src/core/ext/filters/client_channel/resolver_registry.h +3 -12
  71. data/src/core/ext/filters/client_channel/retry_throttle.h +0 -8
  72. data/src/core/ext/filters/client_channel/subchannel.cc +289 -301
  73. data/src/core/ext/filters/client_channel/subchannel.h +57 -84
  74. data/src/core/ext/filters/client_channel/subchannel_index.cc +30 -33
  75. data/src/core/ext/filters/client_channel/subchannel_index.h +4 -16
  76. data/src/core/ext/filters/client_channel/uri_parser.cc +13 -17
  77. data/src/core/ext/filters/client_channel/uri_parser.h +1 -10
  78. data/src/core/ext/filters/deadline/deadline_filter.cc +49 -67
  79. data/src/core/ext/filters/deadline/deadline_filter.h +4 -14
  80. data/src/core/ext/filters/http/client/http_client_filter.cc +60 -77
  81. data/src/core/ext/filters/http/client/http_client_filter.h +0 -8
  82. data/src/core/ext/filters/http/http_filters_plugin.cc +4 -6
  83. data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +63 -79
  84. data/src/core/ext/filters/http/message_compress/message_compress_filter.h +0 -8
  85. data/src/core/ext/filters/http/server/http_server_filter.cc +57 -71
  86. data/src/core/ext/filters/http/server/http_server_filter.h +0 -8
  87. data/src/core/ext/filters/load_reporting/server_load_reporting_filter.cc +19 -24
  88. data/src/core/ext/filters/load_reporting/server_load_reporting_filter.h +0 -8
  89. data/src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc +3 -3
  90. data/src/core/ext/filters/load_reporting/server_load_reporting_plugin.h +0 -8
  91. data/src/core/ext/filters/max_age/max_age_filter.cc +49 -62
  92. data/src/core/ext/filters/max_age/max_age_filter.h +0 -8
  93. data/src/core/ext/filters/message_size/message_size_filter.cc +23 -29
  94. data/src/core/ext/filters/message_size/message_size_filter.h +0 -8
  95. data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc +15 -18
  96. data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h +0 -8
  97. data/src/core/ext/filters/workarounds/workaround_utils.h +0 -8
  98. data/src/core/ext/transport/chttp2/alpn/alpn.h +0 -8
  99. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +33 -40
  100. data/src/core/ext/transport/chttp2/client/chttp2_connector.h +0 -8
  101. data/src/core/ext/transport/chttp2/client/insecure/channel_create.cc +15 -17
  102. data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc +8 -8
  103. data/src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc +23 -28
  104. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +50 -57
  105. data/src/core/ext/transport/chttp2/server/chttp2_server.h +1 -10
  106. data/src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc +3 -3
  107. data/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc +7 -10
  108. data/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc +5 -6
  109. data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +7 -9
  110. data/src/core/ext/transport/chttp2/transport/bin_decoder.h +2 -11
  111. data/src/core/ext/transport/chttp2/transport/bin_encoder.h +1 -9
  112. data/src/core/ext/transport/chttp2/transport/chttp2_plugin.cc +10 -2
  113. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +516 -636
  114. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +4 -11
  115. data/src/core/ext/transport/chttp2/transport/flow_control.cc +29 -13
  116. data/src/core/ext/transport/chttp2/transport/flow_control.h +196 -53
  117. data/src/core/ext/transport/chttp2/transport/frame.h +0 -8
  118. data/src/core/ext/transport/chttp2/transport/frame_data.cc +31 -33
  119. data/src/core/ext/transport/chttp2/transport/frame_data.h +3 -12
  120. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +2 -3
  121. data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -10
  122. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +5 -6
  123. data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -9
  124. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +2 -3
  125. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -10
  126. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +8 -3
  127. data/src/core/ext/transport/chttp2/transport/frame_settings.h +1 -10
  128. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +8 -8
  129. data/src/core/ext/transport/chttp2/transport/frame_window_update.h +5 -11
  130. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +63 -81
  131. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +2 -12
  132. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +230 -318
  133. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +6 -19
  134. data/src/core/ext/transport/chttp2/transport/hpack_table.cc +14 -20
  135. data/src/core/ext/transport/chttp2/transport/hpack_table.h +5 -16
  136. data/src/core/ext/transport/chttp2/transport/http2_settings.h +0 -7
  137. data/src/core/ext/transport/chttp2/transport/huffsyms.h +0 -8
  138. data/src/core/ext/transport/chttp2/transport/incoming_metadata.cc +8 -11
  139. data/src/core/ext/transport/chttp2/transport/incoming_metadata.h +4 -13
  140. data/src/core/ext/transport/chttp2/transport/internal.h +51 -75
  141. data/src/core/ext/transport/chttp2/transport/parsing.cc +83 -109
  142. data/src/core/ext/transport/chttp2/transport/stream_lists.cc +2 -0
  143. data/src/core/ext/transport/chttp2/transport/stream_map.h +0 -8
  144. data/src/core/ext/transport/chttp2/transport/varint.h +0 -8
  145. data/src/core/ext/transport/chttp2/transport/writing.cc +61 -65
  146. data/src/core/ext/transport/inproc/inproc_plugin.cc +2 -4
  147. data/src/core/ext/transport/inproc/inproc_transport.cc +177 -188
  148. data/src/core/ext/transport/inproc/inproc_transport.h +0 -8
  149. data/src/core/lib/backoff/backoff.cc +39 -44
  150. data/src/core/lib/backoff/backoff.h +61 -57
  151. data/src/core/lib/channel/channel_args.cc +8 -10
  152. data/src/core/lib/channel/channel_args.h +4 -13
  153. data/src/core/lib/channel/channel_stack.cc +19 -27
  154. data/src/core/lib/channel/channel_stack.h +27 -47
  155. data/src/core/lib/channel/channel_stack_builder.cc +11 -14
  156. data/src/core/lib/channel/channel_stack_builder.h +4 -15
  157. data/src/core/lib/channel/connected_channel.cc +23 -36
  158. data/src/core/lib/channel/connected_channel.h +1 -10
  159. data/src/core/lib/channel/handshaker.cc +31 -40
  160. data/src/core/lib/channel/handshaker.h +14 -25
  161. data/src/core/lib/channel/handshaker_factory.cc +6 -6
  162. data/src/core/lib/channel/handshaker_factory.h +5 -15
  163. data/src/core/lib/channel/handshaker_registry.cc +9 -13
  164. data/src/core/lib/channel/handshaker_registry.h +2 -11
  165. data/src/core/lib/compression/algorithm_metadata.h +0 -8
  166. data/src/core/lib/compression/message_compress.cc +19 -23
  167. data/src/core/lib/compression/message_compress.h +2 -12
  168. data/src/core/lib/compression/stream_compression.cc +1 -1
  169. data/src/core/lib/compression/stream_compression.h +0 -8
  170. data/src/core/lib/compression/stream_compression_gzip.cc +12 -11
  171. data/src/core/lib/compression/stream_compression_gzip.h +0 -8
  172. data/src/core/lib/compression/stream_compression_identity.h +0 -8
  173. data/src/core/lib/debug/stats.cc +4 -4
  174. data/src/core/lib/debug/stats.h +9 -19
  175. data/src/core/lib/debug/stats_data.cc +85 -116
  176. data/src/core/lib/debug/stats_data.h +236 -312
  177. data/src/core/lib/debug/trace.cc +1 -1
  178. data/src/core/lib/debug/trace.h +0 -12
  179. data/src/core/lib/{support → gpr++}/abstract.h +8 -3
  180. data/src/core/lib/{support → gpr++}/atomic.h +5 -5
  181. data/src/core/lib/{support → gpr++}/atomic_with_atm.h +3 -3
  182. data/src/core/lib/{support → gpr++}/atomic_with_std.h +3 -3
  183. data/src/core/lib/gpr++/debug_location.h +52 -0
  184. data/src/core/lib/gpr++/inlined_vector.h +112 -0
  185. data/src/core/lib/{support → gpr++}/manual_constructor.h +2 -2
  186. data/src/core/lib/{support → gpr++}/memory.h +3 -3
  187. data/src/core/lib/gpr++/orphanable.h +171 -0
  188. data/src/core/lib/gpr++/ref_counted.h +133 -0
  189. data/src/core/lib/gpr++/ref_counted_ptr.h +99 -0
  190. data/src/core/lib/{support → gpr}/alloc.cc +0 -0
  191. data/src/core/lib/{support → gpr}/arena.cc +1 -1
  192. data/src/core/lib/{support → gpr}/arena.h +3 -11
  193. data/src/core/lib/{support → gpr}/atm.cc +0 -0
  194. data/src/core/lib/{support → gpr}/avl.cc +0 -0
  195. data/src/core/lib/{support → gpr}/cmdline.cc +1 -1
  196. data/src/core/lib/{support → gpr}/cpu_iphone.cc +0 -0
  197. data/src/core/lib/{support → gpr}/cpu_linux.cc +0 -0
  198. data/src/core/lib/{support → gpr}/cpu_posix.cc +0 -0
  199. data/src/core/lib/{support → gpr}/cpu_windows.cc +0 -0
  200. data/src/core/lib/{support → gpr}/env.h +3 -11
  201. data/src/core/lib/{support → gpr}/env_linux.cc +2 -2
  202. data/src/core/lib/{support → gpr}/env_posix.cc +4 -4
  203. data/src/core/lib/{support → gpr}/env_windows.cc +3 -3
  204. data/src/core/lib/{support → gpr}/fork.cc +3 -3
  205. data/src/core/lib/{support → gpr}/fork.h +3 -3
  206. data/src/core/lib/{support → gpr}/host_port.cc +1 -1
  207. data/src/core/lib/{support → gpr}/log.cc +3 -3
  208. data/src/core/lib/{support → gpr}/log_android.cc +3 -3
  209. data/src/core/lib/{support → gpr}/log_linux.cc +1 -1
  210. data/src/core/lib/{support → gpr}/log_posix.cc +5 -5
  211. data/src/core/lib/{support → gpr}/log_windows.cc +3 -3
  212. data/src/core/lib/{support → gpr}/mpscq.cc +1 -1
  213. data/src/core/lib/{support → gpr}/mpscq.h +3 -10
  214. data/src/core/lib/{support → gpr}/murmur_hash.cc +1 -1
  215. data/src/core/lib/{support → gpr}/murmur_hash.h +3 -11
  216. data/src/core/lib/{support → gpr}/spinlock.h +3 -3
  217. data/src/core/lib/{support → gpr}/string.cc +1 -1
  218. data/src/core/lib/{support → gpr}/string.h +3 -10
  219. data/src/core/lib/{support → gpr}/string_posix.cc +0 -0
  220. data/src/core/lib/{support → gpr}/string_util_windows.cc +2 -2
  221. data/src/core/lib/{support → gpr}/string_windows.cc +1 -1
  222. data/src/core/lib/{support → gpr}/string_windows.h +3 -11
  223. data/src/core/lib/{support → gpr}/subprocess_posix.cc +0 -0
  224. data/src/core/lib/{support → gpr}/subprocess_windows.cc +2 -2
  225. data/src/core/lib/{support → gpr}/sync.cc +0 -0
  226. data/src/core/lib/{support → gpr}/sync_posix.cc +10 -1
  227. data/src/core/lib/{support → gpr}/sync_windows.cc +0 -0
  228. data/src/core/lib/{support → gpr}/thd.cc +0 -0
  229. data/src/core/lib/{support → gpr}/thd_internal.h +3 -3
  230. data/src/core/lib/{support → gpr}/thd_posix.cc +18 -2
  231. data/src/core/lib/{support → gpr}/thd_windows.cc +2 -1
  232. data/src/core/lib/{support → gpr}/time.cc +0 -0
  233. data/src/core/lib/{support → gpr}/time_posix.cc +2 -4
  234. data/src/core/lib/{support → gpr}/time_precise.cc +1 -1
  235. data/src/core/lib/{support → gpr}/time_precise.h +3 -11
  236. data/src/core/lib/{support → gpr}/time_windows.cc +1 -3
  237. data/src/core/lib/{support → gpr}/tls_pthread.cc +0 -0
  238. data/src/core/lib/{support → gpr}/tmpfile.h +3 -11
  239. data/src/core/lib/{support → gpr}/tmpfile_msys.cc +2 -2
  240. data/src/core/lib/{support → gpr}/tmpfile_posix.cc +2 -2
  241. data/src/core/lib/{support → gpr}/tmpfile_windows.cc +2 -2
  242. data/src/core/lib/{support → gpr}/wrap_memcpy.cc +0 -0
  243. data/src/core/lib/http/format_request.cc +1 -1
  244. data/src/core/lib/http/format_request.h +0 -8
  245. data/src/core/lib/http/httpcli.cc +55 -74
  246. data/src/core/lib/http/httpcli.h +13 -22
  247. data/src/core/lib/http/httpcli_security_connector.cc +27 -33
  248. data/src/core/lib/http/parser.h +0 -8
  249. data/src/core/lib/iomgr/block_annotate.h +10 -17
  250. data/src/core/lib/iomgr/call_combiner.cc +14 -17
  251. data/src/core/lib/iomgr/call_combiner.h +16 -34
  252. data/src/core/lib/iomgr/closure.h +24 -37
  253. data/src/core/lib/iomgr/combiner.cc +62 -66
  254. data/src/core/lib/iomgr/combiner.h +6 -16
  255. data/src/core/lib/iomgr/endpoint.cc +15 -21
  256. data/src/core/lib/iomgr/endpoint.h +16 -33
  257. data/src/core/lib/iomgr/endpoint_pair.h +0 -8
  258. data/src/core/lib/iomgr/endpoint_pair_posix.cc +4 -5
  259. data/src/core/lib/iomgr/endpoint_pair_windows.cc +4 -6
  260. data/src/core/lib/iomgr/error.cc +2 -6
  261. data/src/core/lib/iomgr/error.h +4 -9
  262. data/src/core/lib/iomgr/error_internal.h +0 -8
  263. data/src/core/lib/iomgr/ev_epoll1_linux.cc +110 -117
  264. data/src/core/lib/iomgr/ev_epoll1_linux.h +0 -8
  265. data/src/core/lib/iomgr/ev_epollex_linux.cc +111 -141
  266. data/src/core/lib/iomgr/ev_epollex_linux.h +0 -8
  267. data/src/core/lib/iomgr/ev_epollsig_linux.cc +83 -109
  268. data/src/core/lib/iomgr/ev_epollsig_linux.h +2 -10
  269. data/src/core/lib/iomgr/ev_poll_posix.cc +103 -125
  270. data/src/core/lib/iomgr/ev_poll_posix.h +0 -8
  271. data/src/core/lib/iomgr/ev_posix.cc +35 -50
  272. data/src/core/lib/iomgr/ev_posix.h +27 -53
  273. data/src/core/lib/iomgr/exec_ctx.cc +46 -78
  274. data/src/core/lib/iomgr/exec_ctx.h +127 -60
  275. data/src/core/lib/iomgr/executor.cc +34 -38
  276. data/src/core/lib/iomgr/executor.h +3 -11
  277. data/src/core/lib/iomgr/fork_posix.cc +13 -12
  278. data/src/core/lib/iomgr/gethostname.h +0 -8
  279. data/src/core/lib/iomgr/gethostname_sysconf.cc +1 -1
  280. data/src/core/lib/iomgr/iocp_windows.cc +14 -16
  281. data/src/core/lib/iomgr/iocp_windows.h +1 -10
  282. data/src/core/lib/iomgr/iomgr.cc +60 -59
  283. data/src/core/lib/iomgr/iomgr.h +3 -12
  284. data/src/core/lib/iomgr/iomgr_internal.h +0 -8
  285. data/src/core/lib/iomgr/iomgr_uv.cc +2 -3
  286. data/src/core/lib/iomgr/iomgr_uv.h +0 -8
  287. data/src/core/lib/iomgr/is_epollexclusive_available.cc +1 -1
  288. data/src/core/lib/iomgr/load_file.cc +1 -1
  289. data/src/core/lib/iomgr/load_file.h +0 -8
  290. data/src/core/lib/iomgr/lockfree_event.cc +7 -8
  291. data/src/core/lib/iomgr/lockfree_event.h +3 -3
  292. data/src/core/lib/iomgr/polling_entity.cc +6 -10
  293. data/src/core/lib/iomgr/polling_entity.h +2 -11
  294. data/src/core/lib/iomgr/pollset.h +4 -13
  295. data/src/core/lib/iomgr/pollset_set.h +5 -18
  296. data/src/core/lib/iomgr/pollset_set_uv.cc +5 -10
  297. data/src/core/lib/iomgr/pollset_set_windows.cc +5 -10
  298. data/src/core/lib/iomgr/pollset_uv.cc +8 -9
  299. data/src/core/lib/iomgr/pollset_uv.h +0 -8
  300. data/src/core/lib/iomgr/pollset_windows.cc +14 -15
  301. data/src/core/lib/iomgr/pollset_windows.h +0 -8
  302. data/src/core/lib/iomgr/port.h +6 -1
  303. data/src/core/lib/iomgr/resolve_address.h +1 -10
  304. data/src/core/lib/iomgr/resolve_address_posix.cc +10 -12
  305. data/src/core/lib/iomgr/resolve_address_uv.cc +7 -8
  306. data/src/core/lib/iomgr/resolve_address_windows.cc +8 -9
  307. data/src/core/lib/iomgr/resource_quota.cc +77 -107
  308. data/src/core/lib/iomgr/resource_quota.h +8 -25
  309. data/src/core/lib/iomgr/sockaddr_utils.cc +1 -1
  310. data/src/core/lib/iomgr/sockaddr_utils.h +0 -8
  311. data/src/core/lib/iomgr/socket_factory_posix.cc +1 -1
  312. data/src/core/lib/iomgr/socket_factory_posix.h +0 -8
  313. data/src/core/lib/iomgr/socket_mutator.cc +1 -1
  314. data/src/core/lib/iomgr/socket_mutator.h +1 -9
  315. data/src/core/lib/iomgr/socket_utils.h +0 -8
  316. data/src/core/lib/iomgr/socket_utils_common_posix.cc +1 -1
  317. data/src/core/lib/iomgr/socket_utils_posix.h +0 -8
  318. data/src/core/lib/iomgr/socket_windows.cc +8 -11
  319. data/src/core/lib/iomgr/socket_windows.h +3 -14
  320. data/src/core/lib/iomgr/tcp_client.h +1 -10
  321. data/src/core/lib/iomgr/tcp_client_posix.cc +94 -78
  322. data/src/core/lib/iomgr/tcp_client_posix.h +36 -8
  323. data/src/core/lib/iomgr/tcp_client_uv.cc +16 -23
  324. data/src/core/lib/iomgr/tcp_client_windows.cc +22 -25
  325. data/src/core/lib/iomgr/tcp_posix.cc +131 -153
  326. data/src/core/lib/iomgr/tcp_posix.h +3 -12
  327. data/src/core/lib/iomgr/tcp_server.h +6 -17
  328. data/src/core/lib/iomgr/tcp_server_posix.cc +31 -35
  329. data/src/core/lib/iomgr/tcp_server_utils_posix.h +0 -8
  330. data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +1 -1
  331. data/src/core/lib/iomgr/tcp_server_uv.cc +23 -34
  332. data/src/core/lib/iomgr/tcp_server_windows.cc +24 -34
  333. data/src/core/lib/iomgr/tcp_uv.cc +42 -56
  334. data/src/core/lib/iomgr/tcp_uv.h +0 -8
  335. data/src/core/lib/iomgr/tcp_windows.cc +43 -50
  336. data/src/core/lib/iomgr/tcp_windows.h +1 -9
  337. data/src/core/lib/iomgr/time_averaged_stats.h +0 -8
  338. data/src/core/lib/iomgr/timer.h +6 -15
  339. data/src/core/lib/iomgr/timer_generic.cc +22 -27
  340. data/src/core/lib/iomgr/timer_heap.h +0 -8
  341. data/src/core/lib/iomgr/timer_manager.cc +17 -19
  342. data/src/core/lib/iomgr/timer_manager.h +0 -8
  343. data/src/core/lib/iomgr/timer_uv.cc +12 -14
  344. data/src/core/lib/iomgr/udp_server.cc +148 -54
  345. data/src/core/lib/iomgr/udp_server.h +16 -21
  346. data/src/core/lib/iomgr/unix_sockets_posix.h +0 -8
  347. data/src/core/lib/iomgr/wakeup_fd_cv.cc +4 -4
  348. data/src/core/lib/iomgr/wakeup_fd_cv.h +12 -20
  349. data/src/core/lib/iomgr/wakeup_fd_nospecial.cc +1 -1
  350. data/src/core/lib/iomgr/wakeup_fd_pipe.h +0 -8
  351. data/src/core/lib/iomgr/wakeup_fd_posix.h +0 -8
  352. data/src/core/lib/json/json.h +0 -8
  353. data/src/core/lib/json/json_reader.h +0 -8
  354. data/src/core/lib/json/json_writer.h +0 -8
  355. data/src/core/lib/profiling/basic_timers.cc +3 -2
  356. data/src/core/lib/profiling/timers.h +0 -8
  357. data/src/core/lib/security/context/security_context.cc +9 -10
  358. data/src/core/lib/security/context/security_context.h +0 -8
  359. data/src/core/lib/security/credentials/composite/composite_credentials.cc +23 -28
  360. data/src/core/lib/security/credentials/composite/composite_credentials.h +0 -8
  361. data/src/core/lib/security/credentials/credentials.cc +33 -42
  362. data/src/core/lib/security/credentials/credentials.h +24 -43
  363. data/src/core/lib/security/credentials/credentials_metadata.cc +2 -2
  364. data/src/core/lib/security/credentials/fake/fake_credentials.cc +16 -22
  365. data/src/core/lib/security/credentials/fake/fake_credentials.h +0 -8
  366. data/src/core/lib/security/credentials/google_default/credentials_generic.cc +3 -3
  367. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +28 -34
  368. data/src/core/lib/security/credentials/google_default/google_default_credentials.h +0 -8
  369. data/src/core/lib/security/credentials/iam/iam_credentials.cc +9 -13
  370. data/src/core/lib/security/credentials/jwt/json_token.cc +1 -1
  371. data/src/core/lib/security/credentials/jwt/json_token.h +0 -8
  372. data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +14 -20
  373. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +1 -10
  374. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +56 -72
  375. data/src/core/lib/security/credentials/jwt/jwt_verifier.h +5 -17
  376. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +47 -55
  377. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +3 -12
  378. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +23 -28
  379. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +8 -13
  380. data/src/core/lib/security/credentials/ssl/ssl_credentials.h +0 -8
  381. data/src/core/lib/security/transport/auth_filters.h +0 -8
  382. data/src/core/lib/security/transport/client_auth_filter.cc +45 -54
  383. data/src/core/lib/security/transport/lb_targets_info.cc +2 -2
  384. data/src/core/lib/security/transport/lb_targets_info.h +0 -8
  385. data/src/core/lib/security/transport/secure_endpoint.cc +54 -68
  386. data/src/core/lib/security/transport/secure_endpoint.h +0 -8
  387. data/src/core/lib/security/transport/security_connector.cc +62 -86
  388. data/src/core/lib/security/transport/security_connector.h +22 -39
  389. data/src/core/lib/security/transport/security_handshaker.cc +83 -106
  390. data/src/core/lib/security/transport/security_handshaker.h +1 -10
  391. data/src/core/lib/security/transport/server_auth_filter.cc +31 -38
  392. data/src/core/lib/security/transport/tsi_error.h +0 -8
  393. data/src/core/lib/security/util/json_util.h +0 -8
  394. data/src/core/lib/slice/b64.cc +5 -6
  395. data/src/core/lib/slice/b64.h +3 -12
  396. data/src/core/lib/slice/percent_encoding.h +0 -8
  397. data/src/core/lib/slice/slice.cc +8 -9
  398. data/src/core/lib/slice/slice_buffer.cc +11 -16
  399. data/src/core/lib/slice/slice_hash_table.cc +5 -7
  400. data/src/core/lib/slice/slice_hash_table.h +2 -12
  401. data/src/core/lib/slice/slice_intern.cc +4 -5
  402. data/src/core/lib/slice/slice_internal.h +4 -15
  403. data/src/core/lib/slice/slice_string_helpers.cc +1 -1
  404. data/src/core/lib/slice/slice_string_helpers.h +1 -9
  405. data/src/core/lib/surface/alarm.cc +11 -14
  406. data/src/core/lib/surface/alarm_internal.h +0 -8
  407. data/src/core/lib/surface/byte_buffer.cc +2 -3
  408. data/src/core/lib/surface/byte_buffer_reader.cc +7 -9
  409. data/src/core/lib/surface/call.cc +198 -241
  410. data/src/core/lib/surface/call.h +9 -23
  411. data/src/core/lib/surface/call_details.cc +3 -4
  412. data/src/core/lib/surface/call_log_batch.cc +1 -1
  413. data/src/core/lib/surface/call_test_only.h +0 -8
  414. data/src/core/lib/surface/channel.cc +53 -64
  415. data/src/core/lib/surface/channel.h +12 -23
  416. data/src/core/lib/surface/channel_init.cc +2 -3
  417. data/src/core/lib/surface/channel_init.h +2 -12
  418. data/src/core/lib/surface/channel_ping.cc +7 -9
  419. data/src/core/lib/surface/channel_stack_type.h +0 -8
  420. data/src/core/lib/surface/completion_queue.cc +158 -176
  421. data/src/core/lib/surface/completion_queue.h +9 -20
  422. data/src/core/lib/surface/completion_queue_factory.h +0 -8
  423. data/src/core/lib/surface/event_string.cc +1 -1
  424. data/src/core/lib/surface/event_string.h +0 -8
  425. data/src/core/lib/surface/init.cc +27 -25
  426. data/src/core/lib/surface/init.h +0 -8
  427. data/src/core/lib/surface/init_secure.cc +2 -2
  428. data/src/core/lib/surface/lame_client.cc +30 -33
  429. data/src/core/lib/surface/lame_client.h +0 -8
  430. data/src/core/lib/surface/server.cc +151 -203
  431. data/src/core/lib/surface/server.h +7 -16
  432. data/src/core/lib/surface/validate_metadata.h +0 -8
  433. data/src/core/lib/surface/version.cc +2 -2
  434. data/src/core/lib/transport/bdp_estimator.cc +2 -2
  435. data/src/core/lib/transport/bdp_estimator.h +1 -1
  436. data/src/core/lib/transport/byte_stream.cc +24 -38
  437. data/src/core/lib/transport/byte_stream.h +10 -25
  438. data/src/core/lib/transport/connectivity_state.cc +9 -13
  439. data/src/core/lib/transport/connectivity_state.h +4 -14
  440. data/src/core/lib/transport/error_utils.cc +6 -6
  441. data/src/core/lib/transport/error_utils.h +2 -11
  442. data/src/core/lib/transport/metadata.cc +21 -23
  443. data/src/core/lib/transport/metadata.h +8 -20
  444. data/src/core/lib/transport/metadata_batch.cc +34 -45
  445. data/src/core/lib/transport/metadata_batch.h +18 -32
  446. data/src/core/lib/transport/service_config.cc +11 -15
  447. data/src/core/lib/transport/service_config.h +3 -13
  448. data/src/core/lib/transport/static_metadata.cc +1 -1
  449. data/src/core/lib/transport/static_metadata.h +1 -7
  450. data/src/core/lib/transport/status_conversion.cc +2 -3
  451. data/src/core/lib/transport/status_conversion.h +1 -10
  452. data/src/core/lib/transport/timeout_encoding.cc +1 -1
  453. data/src/core/lib/transport/timeout_encoding.h +1 -9
  454. data/src/core/lib/transport/transport.cc +36 -50
  455. data/src/core/lib/transport/transport.h +28 -30
  456. data/src/core/lib/transport/transport_impl.h +12 -23
  457. data/src/core/lib/transport/transport_op_string.cc +2 -2
  458. data/src/core/plugin_registry/grpc_plugin_registry.cc +34 -34
  459. data/src/core/tsi/fake_transport_security.cc +7 -10
  460. data/src/core/tsi/fake_transport_security.h +0 -8
  461. data/src/core/tsi/gts_transport_security.cc +2 -2
  462. data/src/core/tsi/gts_transport_security.h +0 -8
  463. data/src/core/tsi/ssl_transport_security.cc +3 -0
  464. data/src/core/tsi/ssl_transport_security.h +0 -8
  465. data/src/core/tsi/ssl_types.h +0 -8
  466. data/src/core/tsi/transport_security.h +1 -9
  467. data/src/core/tsi/transport_security_adapter.h +0 -8
  468. data/src/core/tsi/transport_security_grpc.cc +11 -18
  469. data/src/core/tsi/transport_security_grpc.h +9 -21
  470. data/src/core/tsi/transport_security_interface.h +0 -8
  471. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +0 -30
  472. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +2 -48
  473. data/src/ruby/lib/grpc/version.rb +1 -1
  474. data/src/ruby/spec/channel_connection_spec.rb +2 -1
  475. data/src/ruby/spec/client_auth_spec.rb +1 -1
  476. data/src/ruby/spec/client_server_spec.rb +2 -2
  477. data/src/ruby/spec/generic/active_call_spec.rb +1 -1
  478. data/src/ruby/spec/generic/client_stub_spec.rb +4 -4
  479. data/src/ruby/spec/generic/interceptor_registry_spec.rb +1 -1
  480. data/src/ruby/spec/generic/rpc_server_spec.rb +12 -12
  481. data/src/ruby/spec/google_rpc_status_utils_spec.rb +3 -2
  482. data/src/ruby/spec/pb/health/checker_spec.rb +1 -1
  483. data/src/ruby/spec/server_spec.rb +9 -9
  484. data/src/ruby/spec/support/helpers.rb +35 -1
  485. metadata +68 -66
  486. data/include/grpc/impl/codegen/exec_ctx_fwd.h +0 -26
  487. data/include/grpc/support/histogram.h +0 -64
  488. data/src/core/lib/support/histogram.cc +0 -227
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffb03999439c39ee0ff142bd3606f2d407186e1d19468a37ada635f548a0a31d
4
- data.tar.gz: 7087b1002982d600bf62fd61904cdb72fa019c31b1e481d6b8d37b1f93402658
3
+ metadata.gz: f13268b1d6a082b885d9a3c6f6b525361d42bd94a9cd6abb38c45a13c167976d
4
+ data.tar.gz: 9a4c5fdf8f373a893de1c036dc0bcf22f384d234ec29338647444c88c3d140d2
5
5
  SHA512:
6
- metadata.gz: 497398e65ff7a459e49a2836e1ddfa344d64266932f32d030dc67e2352872245babcb171420e8d8a5c085d6b6f69a772be2aed482053039dff7fb818a62567e3
7
- data.tar.gz: 22d423c076915fcba60569aa3c0fe844aed4a32badaf15ed1c4cced117e99984f698fd0de4015c4c57928f1acceb68729fb9714af5f9f62f889de130c55a77b4
6
+ metadata.gz: '0685200b608d8cfe9c42b86fc277393e506300036b2a3a0fd243e1b1dbface30c7859d94e7b089550d694cea76f420107c42bae5944bc0599f51aedc75ec89d5'
7
+ data.tar.gz: 77f8b53eed6d37084ec9217db6a3768ea91cb099ee23ddac48bc2a1b495f20397d9d7256ffc3fba693b422069da86cd87c459583d49c2d30a04c8e54a4c626e6
data/Makefile CHANGED
@@ -77,7 +77,6 @@ CC_opt = $(DEFAULT_CC)
77
77
  CXX_opt = $(DEFAULT_CXX)
78
78
  LD_opt = $(DEFAULT_CC)
79
79
  LDXX_opt = $(DEFAULT_CXX)
80
- CXXFLAGS_opt = -fno-exceptions
81
80
  CPPFLAGS_opt = -O2
82
81
  DEFINES_opt = NDEBUG
83
82
 
@@ -95,7 +94,6 @@ CC_dbg = $(DEFAULT_CC)
95
94
  CXX_dbg = $(DEFAULT_CXX)
96
95
  LD_dbg = $(DEFAULT_CC)
97
96
  LDXX_dbg = $(DEFAULT_CXX)
98
- CXXFLAGS_dbg = -fno-exceptions
99
97
  CPPFLAGS_dbg = -O0
100
98
  DEFINES_dbg = _DEBUG DEBUG
101
99
 
@@ -144,14 +142,14 @@ LDXX_asan-noleaks = clang++
144
142
  CPPFLAGS_asan-noleaks = -O0 -fsanitize-coverage=edge -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
145
143
  LDFLAGS_asan-noleaks = -fsanitize=address
146
144
 
147
- VALID_CONFIG_c++-compat = 1
148
- CC_c++-compat = $(DEFAULT_CC)
149
- CXX_c++-compat = $(DEFAULT_CXX)
150
- LD_c++-compat = $(DEFAULT_CC)
151
- LDXX_c++-compat = $(DEFAULT_CXX)
152
- CFLAGS_c++-compat = -Wc++-compat
153
- CPPFLAGS_c++-compat = -O0
154
- DEFINES_c++-compat = _DEBUG DEBUG
145
+ VALID_CONFIG_noexcept = 1
146
+ CC_noexcept = $(DEFAULT_CC)
147
+ CXX_noexcept = $(DEFAULT_CXX)
148
+ LD_noexcept = $(DEFAULT_CC)
149
+ LDXX_noexcept = $(DEFAULT_CXX)
150
+ CXXFLAGS_noexcept = -fno-exceptions
151
+ CPPFLAGS_noexcept = -O2
152
+ DEFINES_noexcept = NDEBUG
155
153
 
156
154
  VALID_CONFIG_ubsan = 1
157
155
  REQUIRE_CUSTOM_LIBRARIES_ubsan = 1
@@ -207,6 +205,15 @@ LDXX_lto = $(DEFAULT_CXX)
207
205
  CPPFLAGS_lto = -O2
208
206
  DEFINES_lto = NDEBUG
209
207
 
208
+ VALID_CONFIG_c++-compat = 1
209
+ CC_c++-compat = $(DEFAULT_CC)
210
+ CXX_c++-compat = $(DEFAULT_CXX)
211
+ LD_c++-compat = $(DEFAULT_CC)
212
+ LDXX_c++-compat = $(DEFAULT_CXX)
213
+ CFLAGS_c++-compat = -Wc++-compat
214
+ CPPFLAGS_c++-compat = -O0
215
+ DEFINES_c++-compat = _DEBUG DEBUG
216
+
210
217
  VALID_CONFIG_mutrace = 1
211
218
  CC_mutrace = $(DEFAULT_CC)
212
219
  CXX_mutrace = $(DEFAULT_CXX)
@@ -327,7 +334,7 @@ CXXFLAGS += -std=c++11
327
334
  ifeq ($(SYSTEM),Darwin)
328
335
  CXXFLAGS += -stdlib=libc++
329
336
  endif
330
- CPPFLAGS += -g -Wall -Wextra -Werror -Wno-long-long -Wno-unused-parameter -DOSATOMIC_USE_INLINED=1
337
+ CPPFLAGS += -g -Wall -Wextra -Werror -Wno-long-long -Wno-unused-parameter -DOSATOMIC_USE_INLINED=1 -Wno-deprecated-declarations
331
338
  COREFLAGS += -fno-rtti -fno-exceptions
332
339
  LDFLAGS += -g
333
340
 
@@ -411,9 +418,9 @@ E = @echo
411
418
  Q = @
412
419
  endif
413
420
 
414
- CORE_VERSION = 5.0.0
415
- CPP_VERSION = 1.8.7
416
- CSHARP_VERSION = 1.8.7
421
+ CORE_VERSION = 5.0.0-pre1
422
+ CPP_VERSION = 1.9.0-pre1
423
+ CSHARP_VERSION = 1.9.0-pre1
417
424
 
418
425
  CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
419
426
  CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
@@ -643,7 +650,6 @@ ZLIB_DEP = $(LIBDIR)/$(CONFIG)/libz.a
643
650
  ZLIB_MERGE_LIBS = $(LIBDIR)/$(CONFIG)/libz.a
644
651
  ZLIB_MERGE_OBJS = $(LIBZ_OBJS)
645
652
  CPPFLAGS += -Ithird_party/zlib
646
- LDFLAGS += -L$(LIBDIR)/$(CONFIG)/zlib
647
653
  else
648
654
  ifeq ($(HAS_PKG_CONFIG),true)
649
655
  CPPFLAGS += $(shell $(PKG_CONFIG) --cflags zlib)
@@ -674,7 +680,6 @@ CARES_DEP = $(LIBDIR)/$(CONFIG)/libares.a
674
680
  CARES_MERGE_OBJS = $(LIBARES_OBJS)
675
681
  CARES_MERGE_LIBS = $(LIBDIR)/$(CONFIG)/libares.a
676
682
  CPPFLAGS := -Ithird_party/cares -Ithird_party/cares/cares $(CPPFLAGS)
677
- LDFLAGS := -L$(LIBDIR)/$(CONFIG)/c-ares $(LDFLAGS)
678
683
  else
679
684
  ifeq ($(HAS_PKG_CONFIG),true)
680
685
  PC_REQUIRES_GRPC += libcares
@@ -951,7 +956,6 @@ alloc_test: $(BINDIR)/$(CONFIG)/alloc_test
951
956
  alpn_test: $(BINDIR)/$(CONFIG)/alpn_test
952
957
  api_fuzzer: $(BINDIR)/$(CONFIG)/api_fuzzer
953
958
  arena_test: $(BINDIR)/$(CONFIG)/arena_test
954
- backoff_test: $(BINDIR)/$(CONFIG)/backoff_test
955
959
  bad_server_response_test: $(BINDIR)/$(CONFIG)/bad_server_response_test
956
960
  bin_decoder_test: $(BINDIR)/$(CONFIG)/bin_decoder_test
957
961
  bin_encoder_test: $(BINDIR)/$(CONFIG)/bin_encoder_test
@@ -980,15 +984,11 @@ fling_client: $(BINDIR)/$(CONFIG)/fling_client
980
984
  fling_server: $(BINDIR)/$(CONFIG)/fling_server
981
985
  fling_stream_test: $(BINDIR)/$(CONFIG)/fling_stream_test
982
986
  fling_test: $(BINDIR)/$(CONFIG)/fling_test
983
- gen_hpack_tables: $(BINDIR)/$(CONFIG)/gen_hpack_tables
984
- gen_legal_metadata_characters: $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters
985
- gen_percent_encoding_tables: $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables
986
987
  goaway_server_test: $(BINDIR)/$(CONFIG)/goaway_server_test
987
988
  gpr_avl_test: $(BINDIR)/$(CONFIG)/gpr_avl_test
988
989
  gpr_cmdline_test: $(BINDIR)/$(CONFIG)/gpr_cmdline_test
989
990
  gpr_cpu_test: $(BINDIR)/$(CONFIG)/gpr_cpu_test
990
991
  gpr_env_test: $(BINDIR)/$(CONFIG)/gpr_env_test
991
- gpr_histogram_test: $(BINDIR)/$(CONFIG)/gpr_histogram_test
992
992
  gpr_host_port_test: $(BINDIR)/$(CONFIG)/gpr_host_port_test
993
993
  gpr_log_test: $(BINDIR)/$(CONFIG)/gpr_log_test
994
994
  gpr_manual_constructor_test: $(BINDIR)/$(CONFIG)/gpr_manual_constructor_test
@@ -1021,6 +1021,7 @@ grpc_verify_jwt: $(BINDIR)/$(CONFIG)/grpc_verify_jwt
1021
1021
  handshake_client: $(BINDIR)/$(CONFIG)/handshake_client
1022
1022
  handshake_server: $(BINDIR)/$(CONFIG)/handshake_server
1023
1023
  handshake_server_with_readahead_handshaker: $(BINDIR)/$(CONFIG)/handshake_server_with_readahead_handshaker
1024
+ histogram_test: $(BINDIR)/$(CONFIG)/histogram_test
1024
1025
  hpack_parser_fuzzer_test: $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test
1025
1026
  hpack_parser_test: $(BINDIR)/$(CONFIG)/hpack_parser_test
1026
1027
  hpack_table_test: $(BINDIR)/$(CONFIG)/hpack_table_test
@@ -1097,6 +1098,7 @@ wakeup_fd_cv_test: $(BINDIR)/$(CONFIG)/wakeup_fd_cv_test
1097
1098
  alarm_cpp_test: $(BINDIR)/$(CONFIG)/alarm_cpp_test
1098
1099
  async_end2end_test: $(BINDIR)/$(CONFIG)/async_end2end_test
1099
1100
  auth_property_iterator_test: $(BINDIR)/$(CONFIG)/auth_property_iterator_test
1101
+ backoff_test: $(BINDIR)/$(CONFIG)/backoff_test
1100
1102
  bdp_estimator_test: $(BINDIR)/$(CONFIG)/bdp_estimator_test
1101
1103
  bm_arena: $(BINDIR)/$(CONFIG)/bm_arena
1102
1104
  bm_call_create: $(BINDIR)/$(CONFIG)/bm_call_create
@@ -1129,6 +1131,7 @@ cxx_string_ref_test: $(BINDIR)/$(CONFIG)/cxx_string_ref_test
1129
1131
  cxx_time_test: $(BINDIR)/$(CONFIG)/cxx_time_test
1130
1132
  end2end_test: $(BINDIR)/$(CONFIG)/end2end_test
1131
1133
  error_details_test: $(BINDIR)/$(CONFIG)/error_details_test
1134
+ exception_test: $(BINDIR)/$(CONFIG)/exception_test
1132
1135
  filter_end2end_test: $(BINDIR)/$(CONFIG)/filter_end2end_test
1133
1136
  generic_end2end_test: $(BINDIR)/$(CONFIG)/generic_end2end_test
1134
1137
  golden_file_test: $(BINDIR)/$(CONFIG)/golden_file_test
@@ -1148,6 +1151,7 @@ h2_ssl_cert_test: $(BINDIR)/$(CONFIG)/h2_ssl_cert_test
1148
1151
  health_service_end2end_test: $(BINDIR)/$(CONFIG)/health_service_end2end_test
1149
1152
  http2_client: $(BINDIR)/$(CONFIG)/http2_client
1150
1153
  hybrid_end2end_test: $(BINDIR)/$(CONFIG)/hybrid_end2end_test
1154
+ inlined_vector_test: $(BINDIR)/$(CONFIG)/inlined_vector_test
1151
1155
  inproc_sync_unary_ping_pong_test: $(BINDIR)/$(CONFIG)/inproc_sync_unary_ping_pong_test
1152
1156
  interop_client: $(BINDIR)/$(CONFIG)/interop_client
1153
1157
  interop_server: $(BINDIR)/$(CONFIG)/interop_server
@@ -1157,6 +1161,7 @@ memory_test: $(BINDIR)/$(CONFIG)/memory_test
1157
1161
  metrics_client: $(BINDIR)/$(CONFIG)/metrics_client
1158
1162
  mock_test: $(BINDIR)/$(CONFIG)/mock_test
1159
1163
  noop-benchmark: $(BINDIR)/$(CONFIG)/noop-benchmark
1164
+ orphanable_test: $(BINDIR)/$(CONFIG)/orphanable_test
1160
1165
  proto_server_reflection_test: $(BINDIR)/$(CONFIG)/proto_server_reflection_test
1161
1166
  proto_utils_test: $(BINDIR)/$(CONFIG)/proto_utils_test
1162
1167
  qps_interarrival_test: $(BINDIR)/$(CONFIG)/qps_interarrival_test
@@ -1165,6 +1170,8 @@ qps_openloop_test: $(BINDIR)/$(CONFIG)/qps_openloop_test
1165
1170
  qps_worker: $(BINDIR)/$(CONFIG)/qps_worker
1166
1171
  reconnect_interop_client: $(BINDIR)/$(CONFIG)/reconnect_interop_client
1167
1172
  reconnect_interop_server: $(BINDIR)/$(CONFIG)/reconnect_interop_server
1173
+ ref_counted_ptr_test: $(BINDIR)/$(CONFIG)/ref_counted_ptr_test
1174
+ ref_counted_test: $(BINDIR)/$(CONFIG)/ref_counted_test
1168
1175
  secure_auth_context_test: $(BINDIR)/$(CONFIG)/secure_auth_context_test
1169
1176
  secure_sync_unary_ping_pong_test: $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test
1170
1177
  server_builder_plugin_test: $(BINDIR)/$(CONFIG)/server_builder_plugin_test
@@ -1183,6 +1190,9 @@ thread_stress_test: $(BINDIR)/$(CONFIG)/thread_stress_test
1183
1190
  transport_pid_controller_test: $(BINDIR)/$(CONFIG)/transport_pid_controller_test
1184
1191
  writes_per_rpc_test: $(BINDIR)/$(CONFIG)/writes_per_rpc_test
1185
1192
  public_headers_must_be_c89: $(BINDIR)/$(CONFIG)/public_headers_must_be_c89
1193
+ gen_hpack_tables: $(BINDIR)/$(CONFIG)/gen_hpack_tables
1194
+ gen_legal_metadata_characters: $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters
1195
+ gen_percent_encoding_tables: $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables
1186
1196
  boringssl_aes_test: $(BINDIR)/$(CONFIG)/boringssl_aes_test
1187
1197
  boringssl_asn1_test: $(BINDIR)/$(CONFIG)/boringssl_asn1_test
1188
1198
  boringssl_base64_test: $(BINDIR)/$(CONFIG)/boringssl_base64_test
@@ -1223,7 +1233,6 @@ boringssl_tab_test: $(BINDIR)/$(CONFIG)/boringssl_tab_test
1223
1233
  boringssl_v3name_test: $(BINDIR)/$(CONFIG)/boringssl_v3name_test
1224
1234
  badreq_bad_client_test: $(BINDIR)/$(CONFIG)/badreq_bad_client_test
1225
1235
  connection_prefix_bad_client_test: $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test
1226
- duplicate_header_bad_client_test: $(BINDIR)/$(CONFIG)/duplicate_header_bad_client_test
1227
1236
  head_of_line_blocking_bad_client_test: $(BINDIR)/$(CONFIG)/head_of_line_blocking_bad_client_test
1228
1237
  headers_bad_client_test: $(BINDIR)/$(CONFIG)/headers_bad_client_test
1229
1238
  initial_settings_frame_bad_client_test: $(BINDIR)/$(CONFIG)/initial_settings_frame_bad_client_test
@@ -1300,10 +1309,10 @@ third_party/protobuf/configure:
1300
1309
 
1301
1310
  $(LIBDIR)/$(CONFIG)/protobuf/libprotobuf.a: third_party/protobuf/configure
1302
1311
  $(E) "[MAKE] Building protobuf"
1312
+ $(Q)mkdir -p $(LIBDIR)/$(CONFIG)/protobuf
1303
1313
  $(Q)(cd third_party/protobuf ; CC="$(CC)" CXX="$(CXX)" LDFLAGS="$(LDFLAGS_$(CONFIG)) -g $(PROTOBUF_LDFLAGS_EXTRA)" CPPFLAGS="$(PIC_CPPFLAGS) $(CPPFLAGS_$(CONFIG)) -g $(PROTOBUF_CPPFLAGS_EXTRA)" ./configure --disable-shared --enable-static $(PROTOBUF_CONFIG_OPTS))
1304
1314
  $(Q)$(MAKE) -C third_party/protobuf clean
1305
1315
  $(Q)$(MAKE) -C third_party/protobuf
1306
- $(Q)mkdir -p $(LIBDIR)/$(CONFIG)/protobuf
1307
1316
  $(Q)mkdir -p $(BINDIR)/$(CONFIG)/protobuf
1308
1317
  $(Q)cp third_party/protobuf/src/.libs/libprotoc.a $(LIBDIR)/$(CONFIG)/protobuf
1309
1318
  $(Q)cp third_party/protobuf/src/.libs/libprotobuf.a $(LIBDIR)/$(CONFIG)/protobuf
@@ -1351,7 +1360,6 @@ buildtests_c: privatelibs_c \
1351
1360
  $(BINDIR)/$(CONFIG)/alloc_test \
1352
1361
  $(BINDIR)/$(CONFIG)/alpn_test \
1353
1362
  $(BINDIR)/$(CONFIG)/arena_test \
1354
- $(BINDIR)/$(CONFIG)/backoff_test \
1355
1363
  $(BINDIR)/$(CONFIG)/bad_server_response_test \
1356
1364
  $(BINDIR)/$(CONFIG)/bin_decoder_test \
1357
1365
  $(BINDIR)/$(CONFIG)/bin_encoder_test \
@@ -1383,7 +1391,6 @@ buildtests_c: privatelibs_c \
1383
1391
  $(BINDIR)/$(CONFIG)/gpr_cmdline_test \
1384
1392
  $(BINDIR)/$(CONFIG)/gpr_cpu_test \
1385
1393
  $(BINDIR)/$(CONFIG)/gpr_env_test \
1386
- $(BINDIR)/$(CONFIG)/gpr_histogram_test \
1387
1394
  $(BINDIR)/$(CONFIG)/gpr_host_port_test \
1388
1395
  $(BINDIR)/$(CONFIG)/gpr_log_test \
1389
1396
  $(BINDIR)/$(CONFIG)/gpr_manual_constructor_test \
@@ -1413,6 +1420,7 @@ buildtests_c: privatelibs_c \
1413
1420
  $(BINDIR)/$(CONFIG)/handshake_client \
1414
1421
  $(BINDIR)/$(CONFIG)/handshake_server \
1415
1422
  $(BINDIR)/$(CONFIG)/handshake_server_with_readahead_handshaker \
1423
+ $(BINDIR)/$(CONFIG)/histogram_test \
1416
1424
  $(BINDIR)/$(CONFIG)/hpack_parser_test \
1417
1425
  $(BINDIR)/$(CONFIG)/hpack_table_test \
1418
1426
  $(BINDIR)/$(CONFIG)/http_parser_test \
@@ -1477,7 +1485,6 @@ buildtests_c: privatelibs_c \
1477
1485
  $(BINDIR)/$(CONFIG)/public_headers_must_be_c89 \
1478
1486
  $(BINDIR)/$(CONFIG)/badreq_bad_client_test \
1479
1487
  $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test \
1480
- $(BINDIR)/$(CONFIG)/duplicate_header_bad_client_test \
1481
1488
  $(BINDIR)/$(CONFIG)/head_of_line_blocking_bad_client_test \
1482
1489
  $(BINDIR)/$(CONFIG)/headers_bad_client_test \
1483
1490
  $(BINDIR)/$(CONFIG)/initial_settings_frame_bad_client_test \
@@ -1541,6 +1548,7 @@ buildtests_cxx: privatelibs_cxx \
1541
1548
  $(BINDIR)/$(CONFIG)/alarm_cpp_test \
1542
1549
  $(BINDIR)/$(CONFIG)/async_end2end_test \
1543
1550
  $(BINDIR)/$(CONFIG)/auth_property_iterator_test \
1551
+ $(BINDIR)/$(CONFIG)/backoff_test \
1544
1552
  $(BINDIR)/$(CONFIG)/bdp_estimator_test \
1545
1553
  $(BINDIR)/$(CONFIG)/bm_arena \
1546
1554
  $(BINDIR)/$(CONFIG)/bm_call_create \
@@ -1573,6 +1581,7 @@ buildtests_cxx: privatelibs_cxx \
1573
1581
  $(BINDIR)/$(CONFIG)/cxx_time_test \
1574
1582
  $(BINDIR)/$(CONFIG)/end2end_test \
1575
1583
  $(BINDIR)/$(CONFIG)/error_details_test \
1584
+ $(BINDIR)/$(CONFIG)/exception_test \
1576
1585
  $(BINDIR)/$(CONFIG)/filter_end2end_test \
1577
1586
  $(BINDIR)/$(CONFIG)/generic_end2end_test \
1578
1587
  $(BINDIR)/$(CONFIG)/golden_file_test \
@@ -1585,6 +1594,7 @@ buildtests_cxx: privatelibs_cxx \
1585
1594
  $(BINDIR)/$(CONFIG)/health_service_end2end_test \
1586
1595
  $(BINDIR)/$(CONFIG)/http2_client \
1587
1596
  $(BINDIR)/$(CONFIG)/hybrid_end2end_test \
1597
+ $(BINDIR)/$(CONFIG)/inlined_vector_test \
1588
1598
  $(BINDIR)/$(CONFIG)/inproc_sync_unary_ping_pong_test \
1589
1599
  $(BINDIR)/$(CONFIG)/interop_client \
1590
1600
  $(BINDIR)/$(CONFIG)/interop_server \
@@ -1594,6 +1604,7 @@ buildtests_cxx: privatelibs_cxx \
1594
1604
  $(BINDIR)/$(CONFIG)/metrics_client \
1595
1605
  $(BINDIR)/$(CONFIG)/mock_test \
1596
1606
  $(BINDIR)/$(CONFIG)/noop-benchmark \
1607
+ $(BINDIR)/$(CONFIG)/orphanable_test \
1597
1608
  $(BINDIR)/$(CONFIG)/proto_server_reflection_test \
1598
1609
  $(BINDIR)/$(CONFIG)/proto_utils_test \
1599
1610
  $(BINDIR)/$(CONFIG)/qps_interarrival_test \
@@ -1602,6 +1613,8 @@ buildtests_cxx: privatelibs_cxx \
1602
1613
  $(BINDIR)/$(CONFIG)/qps_worker \
1603
1614
  $(BINDIR)/$(CONFIG)/reconnect_interop_client \
1604
1615
  $(BINDIR)/$(CONFIG)/reconnect_interop_server \
1616
+ $(BINDIR)/$(CONFIG)/ref_counted_ptr_test \
1617
+ $(BINDIR)/$(CONFIG)/ref_counted_test \
1605
1618
  $(BINDIR)/$(CONFIG)/secure_auth_context_test \
1606
1619
  $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test \
1607
1620
  $(BINDIR)/$(CONFIG)/server_builder_plugin_test \
@@ -1667,6 +1680,7 @@ buildtests_cxx: privatelibs_cxx \
1667
1680
  $(BINDIR)/$(CONFIG)/alarm_cpp_test \
1668
1681
  $(BINDIR)/$(CONFIG)/async_end2end_test \
1669
1682
  $(BINDIR)/$(CONFIG)/auth_property_iterator_test \
1683
+ $(BINDIR)/$(CONFIG)/backoff_test \
1670
1684
  $(BINDIR)/$(CONFIG)/bdp_estimator_test \
1671
1685
  $(BINDIR)/$(CONFIG)/bm_arena \
1672
1686
  $(BINDIR)/$(CONFIG)/bm_call_create \
@@ -1699,6 +1713,7 @@ buildtests_cxx: privatelibs_cxx \
1699
1713
  $(BINDIR)/$(CONFIG)/cxx_time_test \
1700
1714
  $(BINDIR)/$(CONFIG)/end2end_test \
1701
1715
  $(BINDIR)/$(CONFIG)/error_details_test \
1716
+ $(BINDIR)/$(CONFIG)/exception_test \
1702
1717
  $(BINDIR)/$(CONFIG)/filter_end2end_test \
1703
1718
  $(BINDIR)/$(CONFIG)/generic_end2end_test \
1704
1719
  $(BINDIR)/$(CONFIG)/golden_file_test \
@@ -1711,6 +1726,7 @@ buildtests_cxx: privatelibs_cxx \
1711
1726
  $(BINDIR)/$(CONFIG)/health_service_end2end_test \
1712
1727
  $(BINDIR)/$(CONFIG)/http2_client \
1713
1728
  $(BINDIR)/$(CONFIG)/hybrid_end2end_test \
1729
+ $(BINDIR)/$(CONFIG)/inlined_vector_test \
1714
1730
  $(BINDIR)/$(CONFIG)/inproc_sync_unary_ping_pong_test \
1715
1731
  $(BINDIR)/$(CONFIG)/interop_client \
1716
1732
  $(BINDIR)/$(CONFIG)/interop_server \
@@ -1720,6 +1736,7 @@ buildtests_cxx: privatelibs_cxx \
1720
1736
  $(BINDIR)/$(CONFIG)/metrics_client \
1721
1737
  $(BINDIR)/$(CONFIG)/mock_test \
1722
1738
  $(BINDIR)/$(CONFIG)/noop-benchmark \
1739
+ $(BINDIR)/$(CONFIG)/orphanable_test \
1723
1740
  $(BINDIR)/$(CONFIG)/proto_server_reflection_test \
1724
1741
  $(BINDIR)/$(CONFIG)/proto_utils_test \
1725
1742
  $(BINDIR)/$(CONFIG)/qps_interarrival_test \
@@ -1728,6 +1745,8 @@ buildtests_cxx: privatelibs_cxx \
1728
1745
  $(BINDIR)/$(CONFIG)/qps_worker \
1729
1746
  $(BINDIR)/$(CONFIG)/reconnect_interop_client \
1730
1747
  $(BINDIR)/$(CONFIG)/reconnect_interop_server \
1748
+ $(BINDIR)/$(CONFIG)/ref_counted_ptr_test \
1749
+ $(BINDIR)/$(CONFIG)/ref_counted_test \
1731
1750
  $(BINDIR)/$(CONFIG)/secure_auth_context_test \
1732
1751
  $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test \
1733
1752
  $(BINDIR)/$(CONFIG)/server_builder_plugin_test \
@@ -1768,8 +1787,6 @@ test_c: buildtests_c
1768
1787
  $(Q) $(BINDIR)/$(CONFIG)/alpn_test || ( echo test alpn_test failed ; exit 1 )
1769
1788
  $(E) "[RUN] Testing arena_test"
1770
1789
  $(Q) $(BINDIR)/$(CONFIG)/arena_test || ( echo test arena_test failed ; exit 1 )
1771
- $(E) "[RUN] Testing backoff_test"
1772
- $(Q) $(BINDIR)/$(CONFIG)/backoff_test || ( echo test backoff_test failed ; exit 1 )
1773
1790
  $(E) "[RUN] Testing bad_server_response_test"
1774
1791
  $(Q) $(BINDIR)/$(CONFIG)/bad_server_response_test || ( echo test bad_server_response_test failed ; exit 1 )
1775
1792
  $(E) "[RUN] Testing bin_decoder_test"
@@ -1828,8 +1845,6 @@ test_c: buildtests_c
1828
1845
  $(Q) $(BINDIR)/$(CONFIG)/gpr_cpu_test || ( echo test gpr_cpu_test failed ; exit 1 )
1829
1846
  $(E) "[RUN] Testing gpr_env_test"
1830
1847
  $(Q) $(BINDIR)/$(CONFIG)/gpr_env_test || ( echo test gpr_env_test failed ; exit 1 )
1831
- $(E) "[RUN] Testing gpr_histogram_test"
1832
- $(Q) $(BINDIR)/$(CONFIG)/gpr_histogram_test || ( echo test gpr_histogram_test failed ; exit 1 )
1833
1848
  $(E) "[RUN] Testing gpr_host_port_test"
1834
1849
  $(Q) $(BINDIR)/$(CONFIG)/gpr_host_port_test || ( echo test gpr_host_port_test failed ; exit 1 )
1835
1850
  $(E) "[RUN] Testing gpr_log_test"
@@ -1886,6 +1901,8 @@ test_c: buildtests_c
1886
1901
  $(Q) $(BINDIR)/$(CONFIG)/handshake_server || ( echo test handshake_server failed ; exit 1 )
1887
1902
  $(E) "[RUN] Testing handshake_server_with_readahead_handshaker"
1888
1903
  $(Q) $(BINDIR)/$(CONFIG)/handshake_server_with_readahead_handshaker || ( echo test handshake_server_with_readahead_handshaker failed ; exit 1 )
1904
+ $(E) "[RUN] Testing histogram_test"
1905
+ $(Q) $(BINDIR)/$(CONFIG)/histogram_test || ( echo test histogram_test failed ; exit 1 )
1889
1906
  $(E) "[RUN] Testing hpack_parser_test"
1890
1907
  $(Q) $(BINDIR)/$(CONFIG)/hpack_parser_test || ( echo test hpack_parser_test failed ; exit 1 )
1891
1908
  $(E) "[RUN] Testing hpack_table_test"
@@ -2006,8 +2023,6 @@ test_c: buildtests_c
2006
2023
  $(Q) $(BINDIR)/$(CONFIG)/badreq_bad_client_test || ( echo test badreq_bad_client_test failed ; exit 1 )
2007
2024
  $(E) "[RUN] Testing connection_prefix_bad_client_test"
2008
2025
  $(Q) $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test || ( echo test connection_prefix_bad_client_test failed ; exit 1 )
2009
- $(E) "[RUN] Testing duplicate_header_bad_client_test"
2010
- $(Q) $(BINDIR)/$(CONFIG)/duplicate_header_bad_client_test || ( echo test duplicate_header_bad_client_test failed ; exit 1 )
2011
2026
  $(E) "[RUN] Testing head_of_line_blocking_bad_client_test"
2012
2027
  $(Q) $(BINDIR)/$(CONFIG)/head_of_line_blocking_bad_client_test || ( echo test head_of_line_blocking_bad_client_test failed ; exit 1 )
2013
2028
  $(E) "[RUN] Testing headers_bad_client_test"
@@ -2036,6 +2051,8 @@ test_cxx: buildtests_cxx
2036
2051
  $(Q) $(BINDIR)/$(CONFIG)/async_end2end_test || ( echo test async_end2end_test failed ; exit 1 )
2037
2052
  $(E) "[RUN] Testing auth_property_iterator_test"
2038
2053
  $(Q) $(BINDIR)/$(CONFIG)/auth_property_iterator_test || ( echo test auth_property_iterator_test failed ; exit 1 )
2054
+ $(E) "[RUN] Testing backoff_test"
2055
+ $(Q) $(BINDIR)/$(CONFIG)/backoff_test || ( echo test backoff_test failed ; exit 1 )
2039
2056
  $(E) "[RUN] Testing bdp_estimator_test"
2040
2057
  $(Q) $(BINDIR)/$(CONFIG)/bdp_estimator_test || ( echo test bdp_estimator_test failed ; exit 1 )
2041
2058
  $(E) "[RUN] Testing bm_arena"
@@ -2098,6 +2115,8 @@ test_cxx: buildtests_cxx
2098
2115
  $(Q) $(BINDIR)/$(CONFIG)/end2end_test || ( echo test end2end_test failed ; exit 1 )
2099
2116
  $(E) "[RUN] Testing error_details_test"
2100
2117
  $(Q) $(BINDIR)/$(CONFIG)/error_details_test || ( echo test error_details_test failed ; exit 1 )
2118
+ $(E) "[RUN] Testing exception_test"
2119
+ $(Q) $(BINDIR)/$(CONFIG)/exception_test || ( echo test exception_test failed ; exit 1 )
2101
2120
  $(E) "[RUN] Testing filter_end2end_test"
2102
2121
  $(Q) $(BINDIR)/$(CONFIG)/filter_end2end_test || ( echo test filter_end2end_test failed ; exit 1 )
2103
2122
  $(E) "[RUN] Testing generic_end2end_test"
@@ -2116,6 +2135,8 @@ test_cxx: buildtests_cxx
2116
2135
  $(Q) $(BINDIR)/$(CONFIG)/h2_ssl_cert_test || ( echo test h2_ssl_cert_test failed ; exit 1 )
2117
2136
  $(E) "[RUN] Testing health_service_end2end_test"
2118
2137
  $(Q) $(BINDIR)/$(CONFIG)/health_service_end2end_test || ( echo test health_service_end2end_test failed ; exit 1 )
2138
+ $(E) "[RUN] Testing inlined_vector_test"
2139
+ $(Q) $(BINDIR)/$(CONFIG)/inlined_vector_test || ( echo test inlined_vector_test failed ; exit 1 )
2119
2140
  $(E) "[RUN] Testing inproc_sync_unary_ping_pong_test"
2120
2141
  $(Q) $(BINDIR)/$(CONFIG)/inproc_sync_unary_ping_pong_test || ( echo test inproc_sync_unary_ping_pong_test failed ; exit 1 )
2121
2142
  $(E) "[RUN] Testing interop_test"
@@ -2126,12 +2147,18 @@ test_cxx: buildtests_cxx
2126
2147
  $(Q) $(BINDIR)/$(CONFIG)/mock_test || ( echo test mock_test failed ; exit 1 )
2127
2148
  $(E) "[RUN] Testing noop-benchmark"
2128
2149
  $(Q) $(BINDIR)/$(CONFIG)/noop-benchmark || ( echo test noop-benchmark failed ; exit 1 )
2150
+ $(E) "[RUN] Testing orphanable_test"
2151
+ $(Q) $(BINDIR)/$(CONFIG)/orphanable_test || ( echo test orphanable_test failed ; exit 1 )
2129
2152
  $(E) "[RUN] Testing proto_server_reflection_test"
2130
2153
  $(Q) $(BINDIR)/$(CONFIG)/proto_server_reflection_test || ( echo test proto_server_reflection_test failed ; exit 1 )
2131
2154
  $(E) "[RUN] Testing proto_utils_test"
2132
2155
  $(Q) $(BINDIR)/$(CONFIG)/proto_utils_test || ( echo test proto_utils_test failed ; exit 1 )
2133
2156
  $(E) "[RUN] Testing qps_openloop_test"
2134
2157
  $(Q) $(BINDIR)/$(CONFIG)/qps_openloop_test || ( echo test qps_openloop_test failed ; exit 1 )
2158
+ $(E) "[RUN] Testing ref_counted_ptr_test"
2159
+ $(Q) $(BINDIR)/$(CONFIG)/ref_counted_ptr_test || ( echo test ref_counted_ptr_test failed ; exit 1 )
2160
+ $(E) "[RUN] Testing ref_counted_test"
2161
+ $(Q) $(BINDIR)/$(CONFIG)/ref_counted_test || ( echo test ref_counted_test failed ; exit 1 )
2135
2162
  $(E) "[RUN] Testing secure_auth_context_test"
2136
2163
  $(Q) $(BINDIR)/$(CONFIG)/secure_auth_context_test || ( echo test secure_auth_context_test failed ; exit 1 )
2137
2164
  $(E) "[RUN] Testing secure_sync_unary_ping_pong_test"
@@ -2181,7 +2208,7 @@ test_python: static_c
2181
2208
  tools: tools_c tools_cxx
2182
2209
 
2183
2210
 
2184
- 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
2211
+ tools_c: privatelibs_c $(BINDIR)/$(CONFIG)/check_epollexclusive $(BINDIR)/$(CONFIG)/grpc_create_jwt $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token $(BINDIR)/$(CONFIG)/grpc_verify_jwt $(BINDIR)/$(CONFIG)/gen_hpack_tables $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables
2185
2212
 
2186
2213
  tools_cxx: privatelibs_cxx
2187
2214
 
@@ -2790,14 +2817,14 @@ install-plugins: $(PROTOC_PLUGINS)
2790
2817
  install-pkg-config_c: pc_c pc_c_unsecure
2791
2818
  $(E) "[INSTALL] Installing C pkg-config files"
2792
2819
  $(Q) $(INSTALL) -d $(prefix)/lib/pkgconfig
2793
- $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc $(prefix)/lib/pkgconfig/grpc.pc
2794
- $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc $(prefix)/lib/pkgconfig/grpc_unsecure.pc
2820
+ $(Q) $(INSTALL) -m 0644 $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc $(prefix)/lib/pkgconfig/grpc.pc
2821
+ $(Q) $(INSTALL) -m 0644 $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc $(prefix)/lib/pkgconfig/grpc_unsecure.pc
2795
2822
 
2796
2823
  install-pkg-config_cxx: pc_cxx pc_cxx_unsecure
2797
2824
  $(E) "[INSTALL] Installing C++ pkg-config files"
2798
2825
  $(Q) $(INSTALL) -d $(prefix)/lib/pkgconfig
2799
- $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc $(prefix)/lib/pkgconfig/grpc++.pc
2800
- $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc $(prefix)/lib/pkgconfig/grpc++_unsecure.pc
2826
+ $(Q) $(INSTALL) -m 0644 $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc $(prefix)/lib/pkgconfig/grpc++.pc
2827
+ $(Q) $(INSTALL) -m 0644 $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc $(prefix)/lib/pkgconfig/grpc++_unsecure.pc
2801
2828
 
2802
2829
  install-certs: etc/roots.pem
2803
2830
  $(E) "[INSTALL] Installing root certificates"
@@ -2813,51 +2840,50 @@ clean:
2813
2840
 
2814
2841
 
2815
2842
  LIBGPR_SRC = \
2843
+ src/core/lib/gpr/alloc.cc \
2844
+ src/core/lib/gpr/arena.cc \
2845
+ src/core/lib/gpr/atm.cc \
2846
+ src/core/lib/gpr/avl.cc \
2847
+ src/core/lib/gpr/cmdline.cc \
2848
+ src/core/lib/gpr/cpu_iphone.cc \
2849
+ src/core/lib/gpr/cpu_linux.cc \
2850
+ src/core/lib/gpr/cpu_posix.cc \
2851
+ src/core/lib/gpr/cpu_windows.cc \
2852
+ src/core/lib/gpr/env_linux.cc \
2853
+ src/core/lib/gpr/env_posix.cc \
2854
+ src/core/lib/gpr/env_windows.cc \
2855
+ src/core/lib/gpr/fork.cc \
2856
+ src/core/lib/gpr/host_port.cc \
2857
+ src/core/lib/gpr/log.cc \
2858
+ src/core/lib/gpr/log_android.cc \
2859
+ src/core/lib/gpr/log_linux.cc \
2860
+ src/core/lib/gpr/log_posix.cc \
2861
+ src/core/lib/gpr/log_windows.cc \
2862
+ src/core/lib/gpr/mpscq.cc \
2863
+ src/core/lib/gpr/murmur_hash.cc \
2864
+ src/core/lib/gpr/string.cc \
2865
+ src/core/lib/gpr/string_posix.cc \
2866
+ src/core/lib/gpr/string_util_windows.cc \
2867
+ src/core/lib/gpr/string_windows.cc \
2868
+ src/core/lib/gpr/subprocess_posix.cc \
2869
+ src/core/lib/gpr/subprocess_windows.cc \
2870
+ src/core/lib/gpr/sync.cc \
2871
+ src/core/lib/gpr/sync_posix.cc \
2872
+ src/core/lib/gpr/sync_windows.cc \
2873
+ src/core/lib/gpr/thd.cc \
2874
+ src/core/lib/gpr/thd_posix.cc \
2875
+ src/core/lib/gpr/thd_windows.cc \
2876
+ src/core/lib/gpr/time.cc \
2877
+ src/core/lib/gpr/time_posix.cc \
2878
+ src/core/lib/gpr/time_precise.cc \
2879
+ src/core/lib/gpr/time_windows.cc \
2880
+ src/core/lib/gpr/tls_pthread.cc \
2881
+ src/core/lib/gpr/tmpfile_msys.cc \
2882
+ src/core/lib/gpr/tmpfile_posix.cc \
2883
+ src/core/lib/gpr/tmpfile_windows.cc \
2884
+ src/core/lib/gpr/wrap_memcpy.cc \
2816
2885
  src/core/lib/profiling/basic_timers.cc \
2817
2886
  src/core/lib/profiling/stap_timers.cc \
2818
- src/core/lib/support/alloc.cc \
2819
- src/core/lib/support/arena.cc \
2820
- src/core/lib/support/atm.cc \
2821
- src/core/lib/support/avl.cc \
2822
- src/core/lib/support/cmdline.cc \
2823
- src/core/lib/support/cpu_iphone.cc \
2824
- src/core/lib/support/cpu_linux.cc \
2825
- src/core/lib/support/cpu_posix.cc \
2826
- src/core/lib/support/cpu_windows.cc \
2827
- src/core/lib/support/env_linux.cc \
2828
- src/core/lib/support/env_posix.cc \
2829
- src/core/lib/support/env_windows.cc \
2830
- src/core/lib/support/fork.cc \
2831
- src/core/lib/support/histogram.cc \
2832
- src/core/lib/support/host_port.cc \
2833
- src/core/lib/support/log.cc \
2834
- src/core/lib/support/log_android.cc \
2835
- src/core/lib/support/log_linux.cc \
2836
- src/core/lib/support/log_posix.cc \
2837
- src/core/lib/support/log_windows.cc \
2838
- src/core/lib/support/mpscq.cc \
2839
- src/core/lib/support/murmur_hash.cc \
2840
- src/core/lib/support/string.cc \
2841
- src/core/lib/support/string_posix.cc \
2842
- src/core/lib/support/string_util_windows.cc \
2843
- src/core/lib/support/string_windows.cc \
2844
- src/core/lib/support/subprocess_posix.cc \
2845
- src/core/lib/support/subprocess_windows.cc \
2846
- src/core/lib/support/sync.cc \
2847
- src/core/lib/support/sync_posix.cc \
2848
- src/core/lib/support/sync_windows.cc \
2849
- src/core/lib/support/thd.cc \
2850
- src/core/lib/support/thd_posix.cc \
2851
- src/core/lib/support/thd_windows.cc \
2852
- src/core/lib/support/time.cc \
2853
- src/core/lib/support/time_posix.cc \
2854
- src/core/lib/support/time_precise.cc \
2855
- src/core/lib/support/time_windows.cc \
2856
- src/core/lib/support/tls_pthread.cc \
2857
- src/core/lib/support/tmpfile_msys.cc \
2858
- src/core/lib/support/tmpfile_posix.cc \
2859
- src/core/lib/support/tmpfile_windows.cc \
2860
- src/core/lib/support/wrap_memcpy.cc \
2861
2887
 
2862
2888
  PUBLIC_HEADERS_C += \
2863
2889
  include/grpc/support/alloc.h \
@@ -2868,7 +2894,6 @@ PUBLIC_HEADERS_C += \
2868
2894
  include/grpc/support/avl.h \
2869
2895
  include/grpc/support/cmdline.h \
2870
2896
  include/grpc/support/cpu.h \
2871
- include/grpc/support/histogram.h \
2872
2897
  include/grpc/support/host_port.h \
2873
2898
  include/grpc/support/log.h \
2874
2899
  include/grpc/support/log_windows.h \
@@ -3221,7 +3246,6 @@ PUBLIC_HEADERS_C += \
3221
3246
  include/grpc/impl/codegen/byte_buffer_reader.h \
3222
3247
  include/grpc/impl/codegen/compression_types.h \
3223
3248
  include/grpc/impl/codegen/connectivity_state.h \
3224
- include/grpc/impl/codegen/exec_ctx_fwd.h \
3225
3249
  include/grpc/impl/codegen/grpc_types.h \
3226
3250
  include/grpc/impl/codegen/propagation_bits.h \
3227
3251
  include/grpc/impl/codegen/slice.h \
@@ -3535,7 +3559,6 @@ PUBLIC_HEADERS_C += \
3535
3559
  include/grpc/impl/codegen/byte_buffer_reader.h \
3536
3560
  include/grpc/impl/codegen/compression_types.h \
3537
3561
  include/grpc/impl/codegen/connectivity_state.h \
3538
- include/grpc/impl/codegen/exec_ctx_fwd.h \
3539
3562
  include/grpc/impl/codegen/grpc_types.h \
3540
3563
  include/grpc/impl/codegen/propagation_bits.h \
3541
3564
  include/grpc/impl/codegen/slice.h \
@@ -3622,11 +3645,13 @@ LIBGRPC_TEST_UTIL_SRC = \
3622
3645
  test/core/iomgr/endpoint_tests.cc \
3623
3646
  test/core/util/debugger_macros.cc \
3624
3647
  test/core/util/grpc_profiler.cc \
3648
+ test/core/util/histogram.cc \
3625
3649
  test/core/util/memory_counters.cc \
3626
3650
  test/core/util/mock_endpoint.cc \
3627
3651
  test/core/util/parse_hexstring.cc \
3628
3652
  test/core/util/passthru_endpoint.cc \
3629
3653
  test/core/util/port.cc \
3654
+ test/core/util/port_isolated_runtime_environment.cc \
3630
3655
  test/core/util/port_server_client.cc \
3631
3656
  test/core/util/slice_splitter.cc \
3632
3657
  test/core/util/tracer_util.cc \
@@ -3820,7 +3845,6 @@ PUBLIC_HEADERS_C += \
3820
3845
  include/grpc/impl/codegen/byte_buffer_reader.h \
3821
3846
  include/grpc/impl/codegen/compression_types.h \
3822
3847
  include/grpc/impl/codegen/connectivity_state.h \
3823
- include/grpc/impl/codegen/exec_ctx_fwd.h \
3824
3848
  include/grpc/impl/codegen/grpc_types.h \
3825
3849
  include/grpc/impl/codegen/propagation_bits.h \
3826
3850
  include/grpc/impl/codegen/slice.h \
@@ -3881,11 +3905,13 @@ LIBGRPC_TEST_UTIL_UNSECURE_SRC = \
3881
3905
  test/core/iomgr/endpoint_tests.cc \
3882
3906
  test/core/util/debugger_macros.cc \
3883
3907
  test/core/util/grpc_profiler.cc \
3908
+ test/core/util/histogram.cc \
3884
3909
  test/core/util/memory_counters.cc \
3885
3910
  test/core/util/mock_endpoint.cc \
3886
3911
  test/core/util/parse_hexstring.cc \
3887
3912
  test/core/util/passthru_endpoint.cc \
3888
3913
  test/core/util/port.cc \
3914
+ test/core/util/port_isolated_runtime_environment.cc \
3889
3915
  test/core/util/port_server_client.cc \
3890
3916
  test/core/util/slice_splitter.cc \
3891
3917
  test/core/util/tracer_util.cc \
@@ -4079,7 +4105,6 @@ PUBLIC_HEADERS_C += \
4079
4105
  include/grpc/impl/codegen/byte_buffer_reader.h \
4080
4106
  include/grpc/impl/codegen/compression_types.h \
4081
4107
  include/grpc/impl/codegen/connectivity_state.h \
4082
- include/grpc/impl/codegen/exec_ctx_fwd.h \
4083
4108
  include/grpc/impl/codegen/grpc_types.h \
4084
4109
  include/grpc/impl/codegen/propagation_bits.h \
4085
4110
  include/grpc/impl/codegen/slice.h \
@@ -4345,7 +4370,6 @@ PUBLIC_HEADERS_C += \
4345
4370
  include/grpc/impl/codegen/byte_buffer_reader.h \
4346
4371
  include/grpc/impl/codegen/compression_types.h \
4347
4372
  include/grpc/impl/codegen/connectivity_state.h \
4348
- include/grpc/impl/codegen/exec_ctx_fwd.h \
4349
4373
  include/grpc/impl/codegen/grpc_types.h \
4350
4374
  include/grpc/impl/codegen/propagation_bits.h \
4351
4375
  include/grpc/impl/codegen/slice.h \
@@ -4590,7 +4614,6 @@ PUBLIC_HEADERS_CXX += \
4590
4614
  include/grpc/support/avl.h \
4591
4615
  include/grpc/support/cmdline.h \
4592
4616
  include/grpc/support/cpu.h \
4593
- include/grpc/support/histogram.h \
4594
4617
  include/grpc/support/host_port.h \
4595
4618
  include/grpc/support/log.h \
4596
4619
  include/grpc/support/log_windows.h \
@@ -4638,7 +4661,6 @@ PUBLIC_HEADERS_CXX += \
4638
4661
  include/grpc/impl/codegen/byte_buffer_reader.h \
4639
4662
  include/grpc/impl/codegen/compression_types.h \
4640
4663
  include/grpc/impl/codegen/connectivity_state.h \
4641
- include/grpc/impl/codegen/exec_ctx_fwd.h \
4642
4664
  include/grpc/impl/codegen/grpc_types.h \
4643
4665
  include/grpc/impl/codegen/propagation_bits.h \
4644
4666
  include/grpc/impl/codegen/slice.h \
@@ -5078,7 +5100,6 @@ PUBLIC_HEADERS_CXX += \
5078
5100
  include/grpc/support/avl.h \
5079
5101
  include/grpc/support/cmdline.h \
5080
5102
  include/grpc/support/cpu.h \
5081
- include/grpc/support/histogram.h \
5082
5103
  include/grpc/support/host_port.h \
5083
5104
  include/grpc/support/log.h \
5084
5105
  include/grpc/support/log_windows.h \
@@ -5126,7 +5147,6 @@ PUBLIC_HEADERS_CXX += \
5126
5147
  include/grpc/impl/codegen/byte_buffer_reader.h \
5127
5148
  include/grpc/impl/codegen/compression_types.h \
5128
5149
  include/grpc/impl/codegen/connectivity_state.h \
5129
- include/grpc/impl/codegen/exec_ctx_fwd.h \
5130
5150
  include/grpc/impl/codegen/grpc_types.h \
5131
5151
  include/grpc/impl/codegen/propagation_bits.h \
5132
5152
  include/grpc/impl/codegen/slice.h \
@@ -5519,7 +5539,6 @@ PUBLIC_HEADERS_CXX += \
5519
5539
  include/grpc/impl/codegen/byte_buffer_reader.h \
5520
5540
  include/grpc/impl/codegen/compression_types.h \
5521
5541
  include/grpc/impl/codegen/connectivity_state.h \
5522
- include/grpc/impl/codegen/exec_ctx_fwd.h \
5523
5542
  include/grpc/impl/codegen/grpc_types.h \
5524
5543
  include/grpc/impl/codegen/propagation_bits.h \
5525
5544
  include/grpc/impl/codegen/slice.h \
@@ -5637,7 +5656,6 @@ PUBLIC_HEADERS_CXX += \
5637
5656
  include/grpc/impl/codegen/byte_buffer_reader.h \
5638
5657
  include/grpc/impl/codegen/compression_types.h \
5639
5658
  include/grpc/impl/codegen/connectivity_state.h \
5640
- include/grpc/impl/codegen/exec_ctx_fwd.h \
5641
5659
  include/grpc/impl/codegen/grpc_types.h \
5642
5660
  include/grpc/impl/codegen/propagation_bits.h \
5643
5661
  include/grpc/impl/codegen/slice.h \
@@ -5800,7 +5818,6 @@ PUBLIC_HEADERS_CXX += \
5800
5818
  include/grpc/support/avl.h \
5801
5819
  include/grpc/support/cmdline.h \
5802
5820
  include/grpc/support/cpu.h \
5803
- include/grpc/support/histogram.h \
5804
5821
  include/grpc/support/host_port.h \
5805
5822
  include/grpc/support/log.h \
5806
5823
  include/grpc/support/log_windows.h \
@@ -5848,7 +5865,6 @@ PUBLIC_HEADERS_CXX += \
5848
5865
  include/grpc/impl/codegen/byte_buffer_reader.h \
5849
5866
  include/grpc/impl/codegen/compression_types.h \
5850
5867
  include/grpc/impl/codegen/connectivity_state.h \
5851
- include/grpc/impl/codegen/exec_ctx_fwd.h \
5852
5868
  include/grpc/impl/codegen/grpc_types.h \
5853
5869
  include/grpc/impl/codegen/propagation_bits.h \
5854
5870
  include/grpc/impl/codegen/slice.h \
@@ -8551,6 +8567,7 @@ LIBEND2END_TESTS_SRC = \
8551
8567
  test/core/end2end/tests/filter_call_init_fails.cc \
8552
8568
  test/core/end2end/tests/filter_causes_close.cc \
8553
8569
  test/core/end2end/tests/filter_latency.cc \
8570
+ test/core/end2end/tests/filter_status_code.cc \
8554
8571
  test/core/end2end/tests/graceful_server_shutdown.cc \
8555
8572
  test/core/end2end/tests/high_initial_seqno.cc \
8556
8573
  test/core/end2end/tests/hpack_size.cc \
@@ -8649,6 +8666,7 @@ LIBEND2END_NOSEC_TESTS_SRC = \
8649
8666
  test/core/end2end/tests/filter_call_init_fails.cc \
8650
8667
  test/core/end2end/tests/filter_causes_close.cc \
8651
8668
  test/core/end2end/tests/filter_latency.cc \
8669
+ test/core/end2end/tests/filter_status_code.cc \
8652
8670
  test/core/end2end/tests/graceful_server_shutdown.cc \
8653
8671
  test/core/end2end/tests/high_initial_seqno.cc \
8654
8672
  test/core/end2end/tests/hpack_size.cc \
@@ -8780,7 +8798,7 @@ endif
8780
8798
 
8781
8799
 
8782
8800
  ALLOC_TEST_SRC = \
8783
- test/core/support/alloc_test.cc \
8801
+ test/core/gpr/alloc_test.cc \
8784
8802
 
8785
8803
  ALLOC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALLOC_TEST_SRC))))
8786
8804
  ifeq ($(NO_SECURE),true)
@@ -8800,7 +8818,7 @@ $(BINDIR)/$(CONFIG)/alloc_test: $(ALLOC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_te
8800
8818
 
8801
8819
  endif
8802
8820
 
8803
- $(OBJDIR)/$(CONFIG)/test/core/support/alloc_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
8821
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/alloc_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
8804
8822
 
8805
8823
  deps_alloc_test: $(ALLOC_TEST_OBJS:.o=.dep)
8806
8824
 
@@ -8876,7 +8894,7 @@ endif
8876
8894
 
8877
8895
 
8878
8896
  ARENA_TEST_SRC = \
8879
- test/core/support/arena_test.cc \
8897
+ test/core/gpr/arena_test.cc \
8880
8898
 
8881
8899
  ARENA_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ARENA_TEST_SRC))))
8882
8900
  ifeq ($(NO_SECURE),true)
@@ -8896,7 +8914,7 @@ $(BINDIR)/$(CONFIG)/arena_test: $(ARENA_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_te
8896
8914
 
8897
8915
  endif
8898
8916
 
8899
- $(OBJDIR)/$(CONFIG)/test/core/support/arena_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
8917
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/arena_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
8900
8918
 
8901
8919
  deps_arena_test: $(ARENA_TEST_OBJS:.o=.dep)
8902
8920
 
@@ -8907,38 +8925,6 @@ endif
8907
8925
  endif
8908
8926
 
8909
8927
 
8910
- BACKOFF_TEST_SRC = \
8911
- test/core/backoff/backoff_test.cc \
8912
-
8913
- BACKOFF_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BACKOFF_TEST_SRC))))
8914
- ifeq ($(NO_SECURE),true)
8915
-
8916
- # You can't build secure targets if you don't have OpenSSL.
8917
-
8918
- $(BINDIR)/$(CONFIG)/backoff_test: openssl_dep_error
8919
-
8920
- else
8921
-
8922
-
8923
-
8924
- $(BINDIR)/$(CONFIG)/backoff_test: $(BACKOFF_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
8925
- $(E) "[LD] Linking $@"
8926
- $(Q) mkdir -p `dirname $@`
8927
- $(Q) $(LD) $(LDFLAGS) $(BACKOFF_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)/backoff_test
8928
-
8929
- endif
8930
-
8931
- $(OBJDIR)/$(CONFIG)/test/core/backoff/backoff_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
8932
-
8933
- deps_backoff_test: $(BACKOFF_TEST_OBJS:.o=.dep)
8934
-
8935
- ifneq ($(NO_SECURE),true)
8936
- ifneq ($(NO_DEPS),true)
8937
- -include $(BACKOFF_TEST_OBJS:.o=.dep)
8938
- endif
8939
- endif
8940
-
8941
-
8942
8928
  BAD_SERVER_RESPONSE_TEST_SRC = \
8943
8929
  test/core/end2end/bad_server_response_test.cc \
8944
8930
 
@@ -9838,102 +9824,6 @@ endif
9838
9824
  endif
9839
9825
 
9840
9826
 
9841
- GEN_HPACK_TABLES_SRC = \
9842
- tools/codegen/core/gen_hpack_tables.c \
9843
-
9844
- GEN_HPACK_TABLES_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_HPACK_TABLES_SRC))))
9845
- ifeq ($(NO_SECURE),true)
9846
-
9847
- # You can't build secure targets if you don't have OpenSSL.
9848
-
9849
- $(BINDIR)/$(CONFIG)/gen_hpack_tables: openssl_dep_error
9850
-
9851
- else
9852
-
9853
-
9854
-
9855
- $(BINDIR)/$(CONFIG)/gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a
9856
- $(E) "[LD] Linking $@"
9857
- $(Q) mkdir -p `dirname $@`
9858
- $(Q) $(LD) $(LDFLAGS) $(GEN_HPACK_TABLES_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gen_hpack_tables
9859
-
9860
- endif
9861
-
9862
- $(OBJDIR)/$(CONFIG)/tools/codegen/core/gen_hpack_tables.o: $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a
9863
-
9864
- deps_gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS:.o=.dep)
9865
-
9866
- ifneq ($(NO_SECURE),true)
9867
- ifneq ($(NO_DEPS),true)
9868
- -include $(GEN_HPACK_TABLES_OBJS:.o=.dep)
9869
- endif
9870
- endif
9871
-
9872
-
9873
- GEN_LEGAL_METADATA_CHARACTERS_SRC = \
9874
- tools/codegen/core/gen_legal_metadata_characters.c \
9875
-
9876
- GEN_LEGAL_METADATA_CHARACTERS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_LEGAL_METADATA_CHARACTERS_SRC))))
9877
- ifeq ($(NO_SECURE),true)
9878
-
9879
- # You can't build secure targets if you don't have OpenSSL.
9880
-
9881
- $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters: openssl_dep_error
9882
-
9883
- else
9884
-
9885
-
9886
-
9887
- $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters: $(GEN_LEGAL_METADATA_CHARACTERS_OBJS)
9888
- $(E) "[LD] Linking $@"
9889
- $(Q) mkdir -p `dirname $@`
9890
- $(Q) $(LD) $(LDFLAGS) $(GEN_LEGAL_METADATA_CHARACTERS_OBJS) $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters
9891
-
9892
- endif
9893
-
9894
- $(OBJDIR)/$(CONFIG)/tools/codegen/core/gen_legal_metadata_characters.o:
9895
-
9896
- deps_gen_legal_metadata_characters: $(GEN_LEGAL_METADATA_CHARACTERS_OBJS:.o=.dep)
9897
-
9898
- ifneq ($(NO_SECURE),true)
9899
- ifneq ($(NO_DEPS),true)
9900
- -include $(GEN_LEGAL_METADATA_CHARACTERS_OBJS:.o=.dep)
9901
- endif
9902
- endif
9903
-
9904
-
9905
- GEN_PERCENT_ENCODING_TABLES_SRC = \
9906
- tools/codegen/core/gen_percent_encoding_tables.c \
9907
-
9908
- GEN_PERCENT_ENCODING_TABLES_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_PERCENT_ENCODING_TABLES_SRC))))
9909
- ifeq ($(NO_SECURE),true)
9910
-
9911
- # You can't build secure targets if you don't have OpenSSL.
9912
-
9913
- $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables: openssl_dep_error
9914
-
9915
- else
9916
-
9917
-
9918
-
9919
- $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables: $(GEN_PERCENT_ENCODING_TABLES_OBJS)
9920
- $(E) "[LD] Linking $@"
9921
- $(Q) mkdir -p `dirname $@`
9922
- $(Q) $(LD) $(LDFLAGS) $(GEN_PERCENT_ENCODING_TABLES_OBJS) $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables
9923
-
9924
- endif
9925
-
9926
- $(OBJDIR)/$(CONFIG)/tools/codegen/core/gen_percent_encoding_tables.o:
9927
-
9928
- deps_gen_percent_encoding_tables: $(GEN_PERCENT_ENCODING_TABLES_OBJS:.o=.dep)
9929
-
9930
- ifneq ($(NO_SECURE),true)
9931
- ifneq ($(NO_DEPS),true)
9932
- -include $(GEN_PERCENT_ENCODING_TABLES_OBJS:.o=.dep)
9933
- endif
9934
- endif
9935
-
9936
-
9937
9827
  GOAWAY_SERVER_TEST_SRC = \
9938
9828
  test/core/end2end/goaway_server_test.cc \
9939
9829
 
@@ -9967,7 +9857,7 @@ endif
9967
9857
 
9968
9858
 
9969
9859
  GPR_AVL_TEST_SRC = \
9970
- test/core/support/avl_test.cc \
9860
+ test/core/gpr/avl_test.cc \
9971
9861
 
9972
9862
  GPR_AVL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_AVL_TEST_SRC))))
9973
9863
  ifeq ($(NO_SECURE),true)
@@ -9987,7 +9877,7 @@ $(BINDIR)/$(CONFIG)/gpr_avl_test: $(GPR_AVL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgp
9987
9877
 
9988
9878
  endif
9989
9879
 
9990
- $(OBJDIR)/$(CONFIG)/test/core/support/avl_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
9880
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/avl_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
9991
9881
 
9992
9882
  deps_gpr_avl_test: $(GPR_AVL_TEST_OBJS:.o=.dep)
9993
9883
 
@@ -9999,7 +9889,7 @@ endif
9999
9889
 
10000
9890
 
10001
9891
  GPR_CMDLINE_TEST_SRC = \
10002
- test/core/support/cmdline_test.cc \
9892
+ test/core/gpr/cmdline_test.cc \
10003
9893
 
10004
9894
  GPR_CMDLINE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CMDLINE_TEST_SRC))))
10005
9895
  ifeq ($(NO_SECURE),true)
@@ -10019,7 +9909,7 @@ $(BINDIR)/$(CONFIG)/gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS) $(LIBDIR)/$(CONFI
10019
9909
 
10020
9910
  endif
10021
9911
 
10022
- $(OBJDIR)/$(CONFIG)/test/core/support/cmdline_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
9912
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/cmdline_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10023
9913
 
10024
9914
  deps_gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
10025
9915
 
@@ -10031,7 +9921,7 @@ endif
10031
9921
 
10032
9922
 
10033
9923
  GPR_CPU_TEST_SRC = \
10034
- test/core/support/cpu_test.cc \
9924
+ test/core/gpr/cpu_test.cc \
10035
9925
 
10036
9926
  GPR_CPU_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CPU_TEST_SRC))))
10037
9927
  ifeq ($(NO_SECURE),true)
@@ -10051,7 +9941,7 @@ $(BINDIR)/$(CONFIG)/gpr_cpu_test: $(GPR_CPU_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgp
10051
9941
 
10052
9942
  endif
10053
9943
 
10054
- $(OBJDIR)/$(CONFIG)/test/core/support/cpu_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
9944
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/cpu_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10055
9945
 
10056
9946
  deps_gpr_cpu_test: $(GPR_CPU_TEST_OBJS:.o=.dep)
10057
9947
 
@@ -10063,7 +9953,7 @@ endif
10063
9953
 
10064
9954
 
10065
9955
  GPR_ENV_TEST_SRC = \
10066
- test/core/support/env_test.cc \
9956
+ test/core/gpr/env_test.cc \
10067
9957
 
10068
9958
  GPR_ENV_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_ENV_TEST_SRC))))
10069
9959
  ifeq ($(NO_SECURE),true)
@@ -10083,7 +9973,7 @@ $(BINDIR)/$(CONFIG)/gpr_env_test: $(GPR_ENV_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgp
10083
9973
 
10084
9974
  endif
10085
9975
 
10086
- $(OBJDIR)/$(CONFIG)/test/core/support/env_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
9976
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/env_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10087
9977
 
10088
9978
  deps_gpr_env_test: $(GPR_ENV_TEST_OBJS:.o=.dep)
10089
9979
 
@@ -10094,40 +9984,8 @@ endif
10094
9984
  endif
10095
9985
 
10096
9986
 
10097
- GPR_HISTOGRAM_TEST_SRC = \
10098
- test/core/support/histogram_test.cc \
10099
-
10100
- GPR_HISTOGRAM_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HISTOGRAM_TEST_SRC))))
10101
- ifeq ($(NO_SECURE),true)
10102
-
10103
- # You can't build secure targets if you don't have OpenSSL.
10104
-
10105
- $(BINDIR)/$(CONFIG)/gpr_histogram_test: openssl_dep_error
10106
-
10107
- else
10108
-
10109
-
10110
-
10111
- $(BINDIR)/$(CONFIG)/gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10112
- $(E) "[LD] Linking $@"
10113
- $(Q) mkdir -p `dirname $@`
10114
- $(Q) $(LD) $(LDFLAGS) $(GPR_HISTOGRAM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_histogram_test
10115
-
10116
- endif
10117
-
10118
- $(OBJDIR)/$(CONFIG)/test/core/support/histogram_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10119
-
10120
- deps_gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
10121
-
10122
- ifneq ($(NO_SECURE),true)
10123
- ifneq ($(NO_DEPS),true)
10124
- -include $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
10125
- endif
10126
- endif
10127
-
10128
-
10129
9987
  GPR_HOST_PORT_TEST_SRC = \
10130
- test/core/support/host_port_test.cc \
9988
+ test/core/gpr/host_port_test.cc \
10131
9989
 
10132
9990
  GPR_HOST_PORT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HOST_PORT_TEST_SRC))))
10133
9991
  ifeq ($(NO_SECURE),true)
@@ -10147,7 +10005,7 @@ $(BINDIR)/$(CONFIG)/gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS) $(LIBDIR)/$(C
10147
10005
 
10148
10006
  endif
10149
10007
 
10150
- $(OBJDIR)/$(CONFIG)/test/core/support/host_port_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10008
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/host_port_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10151
10009
 
10152
10010
  deps_gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS:.o=.dep)
10153
10011
 
@@ -10159,7 +10017,7 @@ endif
10159
10017
 
10160
10018
 
10161
10019
  GPR_LOG_TEST_SRC = \
10162
- test/core/support/log_test.cc \
10020
+ test/core/gpr/log_test.cc \
10163
10021
 
10164
10022
  GPR_LOG_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_LOG_TEST_SRC))))
10165
10023
  ifeq ($(NO_SECURE),true)
@@ -10179,7 +10037,7 @@ $(BINDIR)/$(CONFIG)/gpr_log_test: $(GPR_LOG_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgp
10179
10037
 
10180
10038
  endif
10181
10039
 
10182
- $(OBJDIR)/$(CONFIG)/test/core/support/log_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10040
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/log_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10183
10041
 
10184
10042
  deps_gpr_log_test: $(GPR_LOG_TEST_OBJS:.o=.dep)
10185
10043
 
@@ -10191,7 +10049,7 @@ endif
10191
10049
 
10192
10050
 
10193
10051
  GPR_MANUAL_CONSTRUCTOR_TEST_SRC = \
10194
- test/core/support/manual_constructor_test.cc \
10052
+ test/core/gpr++/manual_constructor_test.cc \
10195
10053
 
10196
10054
  GPR_MANUAL_CONSTRUCTOR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_MANUAL_CONSTRUCTOR_TEST_SRC))))
10197
10055
  ifeq ($(NO_SECURE),true)
@@ -10211,7 +10069,7 @@ $(BINDIR)/$(CONFIG)/gpr_manual_constructor_test: $(GPR_MANUAL_CONSTRUCTOR_TEST_O
10211
10069
 
10212
10070
  endif
10213
10071
 
10214
- $(OBJDIR)/$(CONFIG)/test/core/support/manual_constructor_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10072
+ $(OBJDIR)/$(CONFIG)/test/core/gpr++/manual_constructor_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10215
10073
 
10216
10074
  deps_gpr_manual_constructor_test: $(GPR_MANUAL_CONSTRUCTOR_TEST_OBJS:.o=.dep)
10217
10075
 
@@ -10223,7 +10081,7 @@ endif
10223
10081
 
10224
10082
 
10225
10083
  GPR_MPSCQ_TEST_SRC = \
10226
- test/core/support/mpscq_test.cc \
10084
+ test/core/gpr/mpscq_test.cc \
10227
10085
 
10228
10086
  GPR_MPSCQ_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_MPSCQ_TEST_SRC))))
10229
10087
  ifeq ($(NO_SECURE),true)
@@ -10243,7 +10101,7 @@ $(BINDIR)/$(CONFIG)/gpr_mpscq_test: $(GPR_MPSCQ_TEST_OBJS) $(LIBDIR)/$(CONFIG)/l
10243
10101
 
10244
10102
  endif
10245
10103
 
10246
- $(OBJDIR)/$(CONFIG)/test/core/support/mpscq_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10104
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/mpscq_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10247
10105
 
10248
10106
  deps_gpr_mpscq_test: $(GPR_MPSCQ_TEST_OBJS:.o=.dep)
10249
10107
 
@@ -10255,7 +10113,7 @@ endif
10255
10113
 
10256
10114
 
10257
10115
  GPR_SPINLOCK_TEST_SRC = \
10258
- test/core/support/spinlock_test.cc \
10116
+ test/core/gpr/spinlock_test.cc \
10259
10117
 
10260
10118
  GPR_SPINLOCK_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SPINLOCK_TEST_SRC))))
10261
10119
  ifeq ($(NO_SECURE),true)
@@ -10275,7 +10133,7 @@ $(BINDIR)/$(CONFIG)/gpr_spinlock_test: $(GPR_SPINLOCK_TEST_OBJS) $(LIBDIR)/$(CON
10275
10133
 
10276
10134
  endif
10277
10135
 
10278
- $(OBJDIR)/$(CONFIG)/test/core/support/spinlock_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10136
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/spinlock_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10279
10137
 
10280
10138
  deps_gpr_spinlock_test: $(GPR_SPINLOCK_TEST_OBJS:.o=.dep)
10281
10139
 
@@ -10287,7 +10145,7 @@ endif
10287
10145
 
10288
10146
 
10289
10147
  GPR_STRING_TEST_SRC = \
10290
- test/core/support/string_test.cc \
10148
+ test/core/gpr/string_test.cc \
10291
10149
 
10292
10150
  GPR_STRING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_STRING_TEST_SRC))))
10293
10151
  ifeq ($(NO_SECURE),true)
@@ -10307,7 +10165,7 @@ $(BINDIR)/$(CONFIG)/gpr_string_test: $(GPR_STRING_TEST_OBJS) $(LIBDIR)/$(CONFIG)
10307
10165
 
10308
10166
  endif
10309
10167
 
10310
- $(OBJDIR)/$(CONFIG)/test/core/support/string_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10168
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/string_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10311
10169
 
10312
10170
  deps_gpr_string_test: $(GPR_STRING_TEST_OBJS:.o=.dep)
10313
10171
 
@@ -10319,7 +10177,7 @@ endif
10319
10177
 
10320
10178
 
10321
10179
  GPR_SYNC_TEST_SRC = \
10322
- test/core/support/sync_test.cc \
10180
+ test/core/gpr/sync_test.cc \
10323
10181
 
10324
10182
  GPR_SYNC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SYNC_TEST_SRC))))
10325
10183
  ifeq ($(NO_SECURE),true)
@@ -10339,7 +10197,7 @@ $(BINDIR)/$(CONFIG)/gpr_sync_test: $(GPR_SYNC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/lib
10339
10197
 
10340
10198
  endif
10341
10199
 
10342
- $(OBJDIR)/$(CONFIG)/test/core/support/sync_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10200
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/sync_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10343
10201
 
10344
10202
  deps_gpr_sync_test: $(GPR_SYNC_TEST_OBJS:.o=.dep)
10345
10203
 
@@ -10351,7 +10209,7 @@ endif
10351
10209
 
10352
10210
 
10353
10211
  GPR_THD_TEST_SRC = \
10354
- test/core/support/thd_test.cc \
10212
+ test/core/gpr/thd_test.cc \
10355
10213
 
10356
10214
  GPR_THD_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_THD_TEST_SRC))))
10357
10215
  ifeq ($(NO_SECURE),true)
@@ -10371,7 +10229,7 @@ $(BINDIR)/$(CONFIG)/gpr_thd_test: $(GPR_THD_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgp
10371
10229
 
10372
10230
  endif
10373
10231
 
10374
- $(OBJDIR)/$(CONFIG)/test/core/support/thd_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10232
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/thd_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10375
10233
 
10376
10234
  deps_gpr_thd_test: $(GPR_THD_TEST_OBJS:.o=.dep)
10377
10235
 
@@ -10383,7 +10241,7 @@ endif
10383
10241
 
10384
10242
 
10385
10243
  GPR_TIME_TEST_SRC = \
10386
- test/core/support/time_test.cc \
10244
+ test/core/gpr/time_test.cc \
10387
10245
 
10388
10246
  GPR_TIME_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_TIME_TEST_SRC))))
10389
10247
  ifeq ($(NO_SECURE),true)
@@ -10403,7 +10261,7 @@ $(BINDIR)/$(CONFIG)/gpr_time_test: $(GPR_TIME_TEST_OBJS) $(LIBDIR)/$(CONFIG)/lib
10403
10261
 
10404
10262
  endif
10405
10263
 
10406
- $(OBJDIR)/$(CONFIG)/test/core/support/time_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10264
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/time_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10407
10265
 
10408
10266
  deps_gpr_time_test: $(GPR_TIME_TEST_OBJS:.o=.dep)
10409
10267
 
@@ -10415,7 +10273,7 @@ endif
10415
10273
 
10416
10274
 
10417
10275
  GPR_TLS_TEST_SRC = \
10418
- test/core/support/tls_test.cc \
10276
+ test/core/gpr/tls_test.cc \
10419
10277
 
10420
10278
  GPR_TLS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_TLS_TEST_SRC))))
10421
10279
  ifeq ($(NO_SECURE),true)
@@ -10435,7 +10293,7 @@ $(BINDIR)/$(CONFIG)/gpr_tls_test: $(GPR_TLS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgp
10435
10293
 
10436
10294
  endif
10437
10295
 
10438
- $(OBJDIR)/$(CONFIG)/test/core/support/tls_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10296
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/tls_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10439
10297
 
10440
10298
  deps_gpr_tls_test: $(GPR_TLS_TEST_OBJS:.o=.dep)
10441
10299
 
@@ -10447,7 +10305,7 @@ endif
10447
10305
 
10448
10306
 
10449
10307
  GPR_USEFUL_TEST_SRC = \
10450
- test/core/support/useful_test.cc \
10308
+ test/core/gpr/useful_test.cc \
10451
10309
 
10452
10310
  GPR_USEFUL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_USEFUL_TEST_SRC))))
10453
10311
  ifeq ($(NO_SECURE),true)
@@ -10467,7 +10325,7 @@ $(BINDIR)/$(CONFIG)/gpr_useful_test: $(GPR_USEFUL_TEST_OBJS) $(LIBDIR)/$(CONFIG)
10467
10325
 
10468
10326
  endif
10469
10327
 
10470
- $(OBJDIR)/$(CONFIG)/test/core/support/useful_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10328
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/useful_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10471
10329
 
10472
10330
  deps_gpr_useful_test: $(GPR_USEFUL_TEST_OBJS:.o=.dep)
10473
10331
 
@@ -11156,6 +11014,38 @@ endif
11156
11014
  endif
11157
11015
 
11158
11016
 
11017
+ HISTOGRAM_TEST_SRC = \
11018
+ test/core/util/histogram_test.cc \
11019
+
11020
+ HISTOGRAM_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HISTOGRAM_TEST_SRC))))
11021
+ ifeq ($(NO_SECURE),true)
11022
+
11023
+ # You can't build secure targets if you don't have OpenSSL.
11024
+
11025
+ $(BINDIR)/$(CONFIG)/histogram_test: openssl_dep_error
11026
+
11027
+ else
11028
+
11029
+
11030
+
11031
+ $(BINDIR)/$(CONFIG)/histogram_test: $(HISTOGRAM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
11032
+ $(E) "[LD] Linking $@"
11033
+ $(Q) mkdir -p `dirname $@`
11034
+ $(Q) $(LD) $(LDFLAGS) $(HISTOGRAM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/histogram_test
11035
+
11036
+ endif
11037
+
11038
+ $(OBJDIR)/$(CONFIG)/test/core/util/histogram_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
11039
+
11040
+ deps_histogram_test: $(HISTOGRAM_TEST_OBJS:.o=.dep)
11041
+
11042
+ ifneq ($(NO_SECURE),true)
11043
+ ifneq ($(NO_DEPS),true)
11044
+ -include $(HISTOGRAM_TEST_OBJS:.o=.dep)
11045
+ endif
11046
+ endif
11047
+
11048
+
11159
11049
  HPACK_PARSER_FUZZER_TEST_SRC = \
11160
11050
  test/core/transport/chttp2/hpack_parser_fuzzer_test.cc \
11161
11051
 
@@ -11989,7 +11879,7 @@ endif
11989
11879
 
11990
11880
 
11991
11881
  MURMUR_HASH_TEST_SRC = \
11992
- test/core/support/murmur_hash_test.cc \
11882
+ test/core/gpr/murmur_hash_test.cc \
11993
11883
 
11994
11884
  MURMUR_HASH_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MURMUR_HASH_TEST_SRC))))
11995
11885
  ifeq ($(NO_SECURE),true)
@@ -12009,7 +11899,7 @@ $(BINDIR)/$(CONFIG)/murmur_hash_test: $(MURMUR_HASH_TEST_OBJS) $(LIBDIR)/$(CONFI
12009
11899
 
12010
11900
  endif
12011
11901
 
12012
- $(OBJDIR)/$(CONFIG)/test/core/support/murmur_hash_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
11902
+ $(OBJDIR)/$(CONFIG)/test/core/gpr/murmur_hash_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
12013
11903
 
12014
11904
  deps_murmur_hash_test: $(MURMUR_HASH_TEST_OBJS:.o=.dep)
12015
11905
 
@@ -13624,6 +13514,49 @@ endif
13624
13514
  endif
13625
13515
 
13626
13516
 
13517
+ BACKOFF_TEST_SRC = \
13518
+ test/core/backoff/backoff_test.cc \
13519
+
13520
+ BACKOFF_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BACKOFF_TEST_SRC))))
13521
+ ifeq ($(NO_SECURE),true)
13522
+
13523
+ # You can't build secure targets if you don't have OpenSSL.
13524
+
13525
+ $(BINDIR)/$(CONFIG)/backoff_test: openssl_dep_error
13526
+
13527
+ else
13528
+
13529
+
13530
+
13531
+
13532
+ ifeq ($(NO_PROTOBUF),true)
13533
+
13534
+ # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+.
13535
+
13536
+ $(BINDIR)/$(CONFIG)/backoff_test: protobuf_dep_error
13537
+
13538
+ else
13539
+
13540
+ $(BINDIR)/$(CONFIG)/backoff_test: $(PROTOBUF_DEP) $(BACKOFF_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
13541
+ $(E) "[LD] Linking $@"
13542
+ $(Q) mkdir -p `dirname $@`
13543
+ $(Q) $(LDXX) $(LDFLAGS) $(BACKOFF_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.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)/backoff_test
13544
+
13545
+ endif
13546
+
13547
+ endif
13548
+
13549
+ $(OBJDIR)/$(CONFIG)/test/core/backoff/backoff_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
13550
+
13551
+ deps_backoff_test: $(BACKOFF_TEST_OBJS:.o=.dep)
13552
+
13553
+ ifneq ($(NO_SECURE),true)
13554
+ ifneq ($(NO_DEPS),true)
13555
+ -include $(BACKOFF_TEST_OBJS:.o=.dep)
13556
+ endif
13557
+ endif
13558
+
13559
+
13627
13560
  BDP_ESTIMATOR_TEST_SRC = \
13628
13561
  test/core/transport/bdp_estimator_test.cc \
13629
13562
 
@@ -15058,15 +14991,15 @@ endif
15058
14991
  $(OBJDIR)/$(CONFIG)/test/cpp/util/error_details_test.o: $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc
15059
14992
 
15060
14993
 
15061
- FILTER_END2END_TEST_SRC = \
15062
- test/cpp/end2end/filter_end2end_test.cc \
14994
+ EXCEPTION_TEST_SRC = \
14995
+ test/cpp/end2end/exception_test.cc \
15063
14996
 
15064
- FILTER_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FILTER_END2END_TEST_SRC))))
14997
+ EXCEPTION_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(EXCEPTION_TEST_SRC))))
15065
14998
  ifeq ($(NO_SECURE),true)
15066
14999
 
15067
15000
  # You can't build secure targets if you don't have OpenSSL.
15068
15001
 
15069
- $(BINDIR)/$(CONFIG)/filter_end2end_test: openssl_dep_error
15002
+ $(BINDIR)/$(CONFIG)/exception_test: openssl_dep_error
15070
15003
 
15071
15004
  else
15072
15005
 
@@ -15077,33 +15010,76 @@ ifeq ($(NO_PROTOBUF),true)
15077
15010
 
15078
15011
  # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+.
15079
15012
 
15080
- $(BINDIR)/$(CONFIG)/filter_end2end_test: protobuf_dep_error
15013
+ $(BINDIR)/$(CONFIG)/exception_test: protobuf_dep_error
15081
15014
 
15082
15015
  else
15083
15016
 
15084
- $(BINDIR)/$(CONFIG)/filter_end2end_test: $(PROTOBUF_DEP) $(FILTER_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
15017
+ $(BINDIR)/$(CONFIG)/exception_test: $(PROTOBUF_DEP) $(EXCEPTION_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
15085
15018
  $(E) "[LD] Linking $@"
15086
15019
  $(Q) mkdir -p `dirname $@`
15087
- $(Q) $(LDXX) $(LDFLAGS) $(FILTER_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)/filter_end2end_test
15020
+ $(Q) $(LDXX) $(LDFLAGS) $(EXCEPTION_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)/exception_test
15088
15021
 
15089
15022
  endif
15090
15023
 
15091
15024
  endif
15092
15025
 
15093
- $(OBJDIR)/$(CONFIG)/test/cpp/end2end/filter_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
15026
+ $(OBJDIR)/$(CONFIG)/test/cpp/end2end/exception_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
15094
15027
 
15095
- deps_filter_end2end_test: $(FILTER_END2END_TEST_OBJS:.o=.dep)
15028
+ deps_exception_test: $(EXCEPTION_TEST_OBJS:.o=.dep)
15096
15029
 
15097
15030
  ifneq ($(NO_SECURE),true)
15098
15031
  ifneq ($(NO_DEPS),true)
15099
- -include $(FILTER_END2END_TEST_OBJS:.o=.dep)
15032
+ -include $(EXCEPTION_TEST_OBJS:.o=.dep)
15100
15033
  endif
15101
15034
  endif
15102
15035
 
15103
15036
 
15104
- GENERIC_END2END_TEST_SRC = \
15105
- test/cpp/end2end/generic_end2end_test.cc \
15106
-
15037
+ FILTER_END2END_TEST_SRC = \
15038
+ test/cpp/end2end/filter_end2end_test.cc \
15039
+
15040
+ FILTER_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FILTER_END2END_TEST_SRC))))
15041
+ ifeq ($(NO_SECURE),true)
15042
+
15043
+ # You can't build secure targets if you don't have OpenSSL.
15044
+
15045
+ $(BINDIR)/$(CONFIG)/filter_end2end_test: openssl_dep_error
15046
+
15047
+ else
15048
+
15049
+
15050
+
15051
+
15052
+ ifeq ($(NO_PROTOBUF),true)
15053
+
15054
+ # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+.
15055
+
15056
+ $(BINDIR)/$(CONFIG)/filter_end2end_test: protobuf_dep_error
15057
+
15058
+ else
15059
+
15060
+ $(BINDIR)/$(CONFIG)/filter_end2end_test: $(PROTOBUF_DEP) $(FILTER_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
15061
+ $(E) "[LD] Linking $@"
15062
+ $(Q) mkdir -p `dirname $@`
15063
+ $(Q) $(LDXX) $(LDFLAGS) $(FILTER_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)/filter_end2end_test
15064
+
15065
+ endif
15066
+
15067
+ endif
15068
+
15069
+ $(OBJDIR)/$(CONFIG)/test/cpp/end2end/filter_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
15070
+
15071
+ deps_filter_end2end_test: $(FILTER_END2END_TEST_OBJS:.o=.dep)
15072
+
15073
+ ifneq ($(NO_SECURE),true)
15074
+ ifneq ($(NO_DEPS),true)
15075
+ -include $(FILTER_END2END_TEST_OBJS:.o=.dep)
15076
+ endif
15077
+ endif
15078
+
15079
+
15080
+ GENERIC_END2END_TEST_SRC = \
15081
+ test/cpp/end2end/generic_end2end_test.cc \
15082
+
15107
15083
  GENERIC_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GENERIC_END2END_TEST_SRC))))
15108
15084
  ifeq ($(NO_SECURE),true)
15109
15085
 
@@ -15802,6 +15778,49 @@ endif
15802
15778
  endif
15803
15779
 
15804
15780
 
15781
+ INLINED_VECTOR_TEST_SRC = \
15782
+ test/core/gpr++/inlined_vector_test.cc \
15783
+
15784
+ INLINED_VECTOR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INLINED_VECTOR_TEST_SRC))))
15785
+ ifeq ($(NO_SECURE),true)
15786
+
15787
+ # You can't build secure targets if you don't have OpenSSL.
15788
+
15789
+ $(BINDIR)/$(CONFIG)/inlined_vector_test: openssl_dep_error
15790
+
15791
+ else
15792
+
15793
+
15794
+
15795
+
15796
+ ifeq ($(NO_PROTOBUF),true)
15797
+
15798
+ # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+.
15799
+
15800
+ $(BINDIR)/$(CONFIG)/inlined_vector_test: protobuf_dep_error
15801
+
15802
+ else
15803
+
15804
+ $(BINDIR)/$(CONFIG)/inlined_vector_test: $(PROTOBUF_DEP) $(INLINED_VECTOR_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
15805
+ $(E) "[LD] Linking $@"
15806
+ $(Q) mkdir -p `dirname $@`
15807
+ $(Q) $(LDXX) $(LDFLAGS) $(INLINED_VECTOR_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)/inlined_vector_test
15808
+
15809
+ endif
15810
+
15811
+ endif
15812
+
15813
+ $(OBJDIR)/$(CONFIG)/test/core/gpr++/inlined_vector_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
15814
+
15815
+ deps_inlined_vector_test: $(INLINED_VECTOR_TEST_OBJS:.o=.dep)
15816
+
15817
+ ifneq ($(NO_SECURE),true)
15818
+ ifneq ($(NO_DEPS),true)
15819
+ -include $(INLINED_VECTOR_TEST_OBJS:.o=.dep)
15820
+ endif
15821
+ endif
15822
+
15823
+
15805
15824
  INPROC_SYNC_UNARY_PING_PONG_TEST_SRC = \
15806
15825
  test/cpp/qps/inproc_sync_unary_ping_pong_test.cc \
15807
15826
 
@@ -15994,7 +16013,7 @@ endif
15994
16013
 
15995
16014
 
15996
16015
  MEMORY_TEST_SRC = \
15997
- test/core/support/memory_test.cc \
16016
+ test/core/gpr++/memory_test.cc \
15998
16017
 
15999
16018
  MEMORY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MEMORY_TEST_SRC))))
16000
16019
  ifeq ($(NO_SECURE),true)
@@ -16025,7 +16044,7 @@ endif
16025
16044
 
16026
16045
  endif
16027
16046
 
16028
- $(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
16047
+ $(OBJDIR)/$(CONFIG)/test/core/gpr++/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
16029
16048
 
16030
16049
  deps_memory_test: $(MEMORY_TEST_OBJS:.o=.dep)
16031
16050
 
@@ -16170,6 +16189,49 @@ endif
16170
16189
  endif
16171
16190
 
16172
16191
 
16192
+ ORPHANABLE_TEST_SRC = \
16193
+ test/core/gpr++/orphanable_test.cc \
16194
+
16195
+ ORPHANABLE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ORPHANABLE_TEST_SRC))))
16196
+ ifeq ($(NO_SECURE),true)
16197
+
16198
+ # You can't build secure targets if you don't have OpenSSL.
16199
+
16200
+ $(BINDIR)/$(CONFIG)/orphanable_test: openssl_dep_error
16201
+
16202
+ else
16203
+
16204
+
16205
+
16206
+
16207
+ ifeq ($(NO_PROTOBUF),true)
16208
+
16209
+ # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+.
16210
+
16211
+ $(BINDIR)/$(CONFIG)/orphanable_test: protobuf_dep_error
16212
+
16213
+ else
16214
+
16215
+ $(BINDIR)/$(CONFIG)/orphanable_test: $(PROTOBUF_DEP) $(ORPHANABLE_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
16216
+ $(E) "[LD] Linking $@"
16217
+ $(Q) mkdir -p `dirname $@`
16218
+ $(Q) $(LDXX) $(LDFLAGS) $(ORPHANABLE_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)/orphanable_test
16219
+
16220
+ endif
16221
+
16222
+ endif
16223
+
16224
+ $(OBJDIR)/$(CONFIG)/test/core/gpr++/orphanable_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
16225
+
16226
+ deps_orphanable_test: $(ORPHANABLE_TEST_OBJS:.o=.dep)
16227
+
16228
+ ifneq ($(NO_SECURE),true)
16229
+ ifneq ($(NO_DEPS),true)
16230
+ -include $(ORPHANABLE_TEST_OBJS:.o=.dep)
16231
+ endif
16232
+ endif
16233
+
16234
+
16173
16235
  PROTO_SERVER_REFLECTION_TEST_SRC = \
16174
16236
  test/cpp/end2end/proto_server_reflection_test.cc \
16175
16237
 
@@ -16534,6 +16596,92 @@ endif
16534
16596
  $(OBJDIR)/$(CONFIG)/test/cpp/interop/reconnect_interop_server.o: $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc
16535
16597
 
16536
16598
 
16599
+ REF_COUNTED_PTR_TEST_SRC = \
16600
+ test/core/gpr++/ref_counted_ptr_test.cc \
16601
+
16602
+ REF_COUNTED_PTR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(REF_COUNTED_PTR_TEST_SRC))))
16603
+ ifeq ($(NO_SECURE),true)
16604
+
16605
+ # You can't build secure targets if you don't have OpenSSL.
16606
+
16607
+ $(BINDIR)/$(CONFIG)/ref_counted_ptr_test: openssl_dep_error
16608
+
16609
+ else
16610
+
16611
+
16612
+
16613
+
16614
+ ifeq ($(NO_PROTOBUF),true)
16615
+
16616
+ # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+.
16617
+
16618
+ $(BINDIR)/$(CONFIG)/ref_counted_ptr_test: protobuf_dep_error
16619
+
16620
+ else
16621
+
16622
+ $(BINDIR)/$(CONFIG)/ref_counted_ptr_test: $(PROTOBUF_DEP) $(REF_COUNTED_PTR_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
16623
+ $(E) "[LD] Linking $@"
16624
+ $(Q) mkdir -p `dirname $@`
16625
+ $(Q) $(LDXX) $(LDFLAGS) $(REF_COUNTED_PTR_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)/ref_counted_ptr_test
16626
+
16627
+ endif
16628
+
16629
+ endif
16630
+
16631
+ $(OBJDIR)/$(CONFIG)/test/core/gpr++/ref_counted_ptr_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
16632
+
16633
+ deps_ref_counted_ptr_test: $(REF_COUNTED_PTR_TEST_OBJS:.o=.dep)
16634
+
16635
+ ifneq ($(NO_SECURE),true)
16636
+ ifneq ($(NO_DEPS),true)
16637
+ -include $(REF_COUNTED_PTR_TEST_OBJS:.o=.dep)
16638
+ endif
16639
+ endif
16640
+
16641
+
16642
+ REF_COUNTED_TEST_SRC = \
16643
+ test/core/gpr++/ref_counted_test.cc \
16644
+
16645
+ REF_COUNTED_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(REF_COUNTED_TEST_SRC))))
16646
+ ifeq ($(NO_SECURE),true)
16647
+
16648
+ # You can't build secure targets if you don't have OpenSSL.
16649
+
16650
+ $(BINDIR)/$(CONFIG)/ref_counted_test: openssl_dep_error
16651
+
16652
+ else
16653
+
16654
+
16655
+
16656
+
16657
+ ifeq ($(NO_PROTOBUF),true)
16658
+
16659
+ # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+.
16660
+
16661
+ $(BINDIR)/$(CONFIG)/ref_counted_test: protobuf_dep_error
16662
+
16663
+ else
16664
+
16665
+ $(BINDIR)/$(CONFIG)/ref_counted_test: $(PROTOBUF_DEP) $(REF_COUNTED_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
16666
+ $(E) "[LD] Linking $@"
16667
+ $(Q) mkdir -p `dirname $@`
16668
+ $(Q) $(LDXX) $(LDFLAGS) $(REF_COUNTED_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)/ref_counted_test
16669
+
16670
+ endif
16671
+
16672
+ endif
16673
+
16674
+ $(OBJDIR)/$(CONFIG)/test/core/gpr++/ref_counted_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
16675
+
16676
+ deps_ref_counted_test: $(REF_COUNTED_TEST_OBJS:.o=.dep)
16677
+
16678
+ ifneq ($(NO_SECURE),true)
16679
+ ifneq ($(NO_DEPS),true)
16680
+ -include $(REF_COUNTED_TEST_OBJS:.o=.dep)
16681
+ endif
16682
+ endif
16683
+
16684
+
16537
16685
  SECURE_AUTH_CONTEXT_TEST_SRC = \
16538
16686
  test/cpp/common/secure_auth_context_test.cc \
16539
16687
 
@@ -17340,6 +17488,102 @@ endif
17340
17488
  endif
17341
17489
 
17342
17490
 
17491
+ GEN_HPACK_TABLES_SRC = \
17492
+ tools/codegen/core/gen_hpack_tables.cc \
17493
+
17494
+ GEN_HPACK_TABLES_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_HPACK_TABLES_SRC))))
17495
+ ifeq ($(NO_SECURE),true)
17496
+
17497
+ # You can't build secure targets if you don't have OpenSSL.
17498
+
17499
+ $(BINDIR)/$(CONFIG)/gen_hpack_tables: openssl_dep_error
17500
+
17501
+ else
17502
+
17503
+
17504
+
17505
+ $(BINDIR)/$(CONFIG)/gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a
17506
+ $(E) "[LD] Linking $@"
17507
+ $(Q) mkdir -p `dirname $@`
17508
+ $(Q) $(LD) $(LDFLAGS) $(GEN_HPACK_TABLES_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gen_hpack_tables
17509
+
17510
+ endif
17511
+
17512
+ $(OBJDIR)/$(CONFIG)/tools/codegen/core/gen_hpack_tables.o: $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a
17513
+
17514
+ deps_gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS:.o=.dep)
17515
+
17516
+ ifneq ($(NO_SECURE),true)
17517
+ ifneq ($(NO_DEPS),true)
17518
+ -include $(GEN_HPACK_TABLES_OBJS:.o=.dep)
17519
+ endif
17520
+ endif
17521
+
17522
+
17523
+ GEN_LEGAL_METADATA_CHARACTERS_SRC = \
17524
+ tools/codegen/core/gen_legal_metadata_characters.cc \
17525
+
17526
+ GEN_LEGAL_METADATA_CHARACTERS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_LEGAL_METADATA_CHARACTERS_SRC))))
17527
+ ifeq ($(NO_SECURE),true)
17528
+
17529
+ # You can't build secure targets if you don't have OpenSSL.
17530
+
17531
+ $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters: openssl_dep_error
17532
+
17533
+ else
17534
+
17535
+
17536
+
17537
+ $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters: $(GEN_LEGAL_METADATA_CHARACTERS_OBJS)
17538
+ $(E) "[LD] Linking $@"
17539
+ $(Q) mkdir -p `dirname $@`
17540
+ $(Q) $(LD) $(LDFLAGS) $(GEN_LEGAL_METADATA_CHARACTERS_OBJS) $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters
17541
+
17542
+ endif
17543
+
17544
+ $(OBJDIR)/$(CONFIG)/tools/codegen/core/gen_legal_metadata_characters.o:
17545
+
17546
+ deps_gen_legal_metadata_characters: $(GEN_LEGAL_METADATA_CHARACTERS_OBJS:.o=.dep)
17547
+
17548
+ ifneq ($(NO_SECURE),true)
17549
+ ifneq ($(NO_DEPS),true)
17550
+ -include $(GEN_LEGAL_METADATA_CHARACTERS_OBJS:.o=.dep)
17551
+ endif
17552
+ endif
17553
+
17554
+
17555
+ GEN_PERCENT_ENCODING_TABLES_SRC = \
17556
+ tools/codegen/core/gen_percent_encoding_tables.cc \
17557
+
17558
+ GEN_PERCENT_ENCODING_TABLES_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_PERCENT_ENCODING_TABLES_SRC))))
17559
+ ifeq ($(NO_SECURE),true)
17560
+
17561
+ # You can't build secure targets if you don't have OpenSSL.
17562
+
17563
+ $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables: openssl_dep_error
17564
+
17565
+ else
17566
+
17567
+
17568
+
17569
+ $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables: $(GEN_PERCENT_ENCODING_TABLES_OBJS)
17570
+ $(E) "[LD] Linking $@"
17571
+ $(Q) mkdir -p `dirname $@`
17572
+ $(Q) $(LD) $(LDFLAGS) $(GEN_PERCENT_ENCODING_TABLES_OBJS) $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables
17573
+
17574
+ endif
17575
+
17576
+ $(OBJDIR)/$(CONFIG)/tools/codegen/core/gen_percent_encoding_tables.o:
17577
+
17578
+ deps_gen_percent_encoding_tables: $(GEN_PERCENT_ENCODING_TABLES_OBJS:.o=.dep)
17579
+
17580
+ ifneq ($(NO_SECURE),true)
17581
+ ifneq ($(NO_DEPS),true)
17582
+ -include $(GEN_PERCENT_ENCODING_TABLES_OBJS:.o=.dep)
17583
+ endif
17584
+ endif
17585
+
17586
+
17343
17587
 
17344
17588
  # boringssl needs an override to ensure that it does not include
17345
17589
  # system openssl headers regardless of other configuration
@@ -18482,26 +18726,6 @@ ifneq ($(NO_DEPS),true)
18482
18726
  endif
18483
18727
 
18484
18728
 
18485
- DUPLICATE_HEADER_BAD_CLIENT_TEST_SRC = \
18486
- test/core/bad_client/tests/duplicate_header.cc \
18487
-
18488
- DUPLICATE_HEADER_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(DUPLICATE_HEADER_BAD_CLIENT_TEST_SRC))))
18489
-
18490
-
18491
- $(BINDIR)/$(CONFIG)/duplicate_header_bad_client_test: $(DUPLICATE_HEADER_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
18492
- $(E) "[LD] Linking $@"
18493
- $(Q) mkdir -p `dirname $@`
18494
- $(Q) $(LD) $(LDFLAGS) $(DUPLICATE_HEADER_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/duplicate_header_bad_client_test
18495
-
18496
- $(OBJDIR)/$(CONFIG)/test/core/bad_client/tests/duplicate_header.o: $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
18497
-
18498
- deps_duplicate_header_bad_client_test: $(DUPLICATE_HEADER_BAD_CLIENT_TEST_OBJS:.o=.dep)
18499
-
18500
- ifneq ($(NO_DEPS),true)
18501
- -include $(DUPLICATE_HEADER_BAD_CLIENT_TEST_OBJS:.o=.dep)
18502
- endif
18503
-
18504
-
18505
18729
  HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_SRC = \
18506
18730
  test/core/bad_client/tests/head_of_line_blocking.cc \
18507
18731