grpc 1.14.2 → 1.15.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 (113) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +307 -12
  3. data/etc/roots.pem +40 -163
  4. data/include/grpc/grpc.h +49 -0
  5. data/include/grpc/grpc_security.h +0 -6
  6. data/include/grpc/grpc_security_constants.h +6 -0
  7. data/include/grpc/impl/codegen/grpc_types.h +17 -2
  8. data/include/grpc/impl/codegen/port_platform.h +41 -4
  9. data/include/grpc/support/sync.h +0 -16
  10. data/src/{cpp → core}/ext/filters/census/grpc_context.cc +0 -0
  11. data/src/core/ext/filters/client_channel/client_channel.cc +40 -11
  12. data/src/core/ext/filters/client_channel/client_channel_channelz.cc +11 -9
  13. data/src/core/ext/filters/client_channel/client_channel_channelz.h +4 -2
  14. data/src/core/ext/filters/client_channel/lb_policy.h +14 -11
  15. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +67 -90
  16. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +108 -91
  17. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +79 -25
  18. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +40 -0
  19. data/src/core/ext/filters/client_channel/resolver.h +8 -0
  20. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +11 -3
  21. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc +13 -10
  22. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +18 -4
  23. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +13 -5
  24. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +537 -0
  25. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +6 -5
  26. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +11 -0
  27. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +29 -0
  28. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +29 -0
  29. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +9 -0
  30. data/src/core/ext/filters/client_channel/subchannel.cc +21 -8
  31. data/src/core/ext/filters/client_channel/subchannel.h +7 -0
  32. data/src/core/ext/filters/http/client_authority_filter.cc +1 -1
  33. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +24 -0
  34. data/src/core/ext/transport/chttp2/transport/flow_control.cc +10 -7
  35. data/src/core/lib/channel/channel_stack.h +1 -1
  36. data/src/core/lib/channel/channel_trace.cc +1 -1
  37. data/src/core/lib/channel/channel_trace.h +1 -1
  38. data/src/core/lib/channel/channelz.cc +37 -27
  39. data/src/core/lib/channel/channelz.h +13 -4
  40. data/src/core/lib/channel/channelz_registry.cc +89 -4
  41. data/src/core/lib/channel/channelz_registry.h +56 -39
  42. data/src/core/lib/gpr/arena.cc +33 -40
  43. data/src/core/lib/gprpp/fork.cc +41 -33
  44. data/src/core/lib/gprpp/fork.h +13 -4
  45. data/src/core/lib/gprpp/mutex_lock.h +42 -0
  46. data/src/core/lib/gprpp/orphanable.h +4 -2
  47. data/src/core/lib/gprpp/ref_counted.h +4 -2
  48. data/src/core/lib/gprpp/ref_counted_ptr.h +65 -13
  49. data/src/core/lib/iomgr/call_combiner.h +4 -1
  50. data/src/core/lib/iomgr/ev_epoll1_linux.cc +77 -17
  51. data/src/core/lib/iomgr/ev_epollex_linux.cc +8 -26
  52. data/src/core/lib/iomgr/ev_epollsig_linux.cc +10 -28
  53. data/src/core/lib/iomgr/ev_poll_posix.cc +144 -35
  54. data/src/core/lib/iomgr/ev_posix.cc +58 -9
  55. data/src/core/lib/iomgr/ev_posix.h +22 -8
  56. data/src/core/lib/iomgr/exec_ctx.cc +6 -0
  57. data/src/core/lib/iomgr/exec_ctx.h +2 -0
  58. data/src/core/lib/iomgr/executor.cc +148 -72
  59. data/src/core/lib/iomgr/executor.h +39 -6
  60. data/src/core/lib/iomgr/fork_posix.cc +12 -1
  61. data/src/core/lib/iomgr/iocp_windows.cc +9 -4
  62. data/src/core/lib/iomgr/lockfree_event.cc +5 -1
  63. data/src/core/lib/iomgr/port.h +15 -2
  64. data/src/core/lib/iomgr/resolve_address_posix.cc +3 -2
  65. data/src/core/lib/iomgr/resolve_address_windows.cc +3 -2
  66. data/src/core/lib/iomgr/resource_quota.cc +78 -0
  67. data/src/core/lib/iomgr/resource_quota.h +16 -0
  68. data/src/core/lib/iomgr/socket_mutator.cc +1 -1
  69. data/src/core/lib/iomgr/socket_mutator.h +1 -1
  70. data/src/core/lib/iomgr/socket_windows.cc +33 -0
  71. data/src/core/lib/iomgr/socket_windows.h +6 -0
  72. data/src/core/lib/iomgr/tcp_windows.cc +2 -2
  73. data/src/core/lib/iomgr/tcp_windows.h +2 -0
  74. data/src/core/lib/iomgr/timer.h +3 -2
  75. data/src/core/lib/json/json.cc +2 -1
  76. data/src/core/lib/security/credentials/jwt/json_token.h +2 -0
  77. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +2 -0
  78. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +1 -1
  79. data/src/core/lib/security/security_connector/load_system_roots.h +29 -0
  80. data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +32 -0
  81. data/src/core/lib/security/security_connector/load_system_roots_linux.cc +165 -0
  82. data/src/core/lib/security/security_connector/load_system_roots_linux.h +44 -0
  83. data/src/core/lib/security/security_connector/security_connector.cc +23 -4
  84. data/src/core/lib/security/transport/client_auth_filter.cc +0 -4
  85. data/src/core/lib/security/transport/server_auth_filter.cc +0 -2
  86. data/src/core/lib/surface/call.cc +7 -3
  87. data/src/core/lib/surface/channel.cc +18 -2
  88. data/src/core/lib/surface/completion_queue.cc +152 -15
  89. data/src/core/lib/surface/completion_queue.h +20 -1
  90. data/src/core/lib/surface/completion_queue_factory.cc +13 -4
  91. data/src/core/lib/surface/init.cc +2 -2
  92. data/src/core/lib/surface/init.h +0 -1
  93. data/src/core/lib/surface/version.cc +2 -2
  94. data/src/core/lib/transport/service_config.cc +2 -2
  95. data/src/core/lib/transport/service_config.h +3 -3
  96. data/src/core/lib/transport/transport.h +2 -0
  97. data/src/core/tsi/alts/crypt/aes_gcm.cc +2 -0
  98. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +8 -0
  99. data/src/core/tsi/grpc_shadow_boringssl.h +3006 -0
  100. data/src/core/tsi/ssl/session_cache/ssl_session.h +2 -0
  101. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +5 -5
  102. data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +2 -0
  103. data/src/core/tsi/ssl_transport_security.cc +5 -3
  104. data/src/core/tsi/ssl_types.h +2 -0
  105. data/src/ruby/ext/grpc/extconf.rb +1 -26
  106. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +12 -0
  107. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +18 -0
  108. data/src/ruby/lib/grpc/version.rb +1 -1
  109. data/src/ruby/spec/generic/client_stub_spec.rb +3 -3
  110. data/third_party/address_sorting/address_sorting.c +7 -2
  111. data/third_party/address_sorting/address_sorting_windows.c +43 -3
  112. data/third_party/address_sorting/include/address_sorting/address_sorting.h +3 -0
  113. metadata +40 -31
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3f67e68b5982144bef431044af888d3317bd9a02bfa7e2e315dbee4633c5865
4
- data.tar.gz: cb4266b717ab48be40ac3df3fc17851be15f1a593b596f60c9e58f16b6d3e401
3
+ metadata.gz: a6e39de23ec8e7b552ad8f77461044d59a32e48526140939930ffc31d8cd6be0
4
+ data.tar.gz: 2568d24e572094074f45ea5f25588d4db112ab1ce0a96b5ee663b438598e5b8b
5
5
  SHA512:
6
- metadata.gz: 77cea4dfc572b854d8cc68b2b99eb10dfddff1de3fad492fc30d2c158fa4c0cc939edd475697a190dbae2db6153408dc2bfd60c9f0abb00d3153d4c5f0598b97
7
- data.tar.gz: 41e631542b0c4d3b3594d22ae73ada3ab0872491763dc2db16510ad5ef917b23c2a1135db18fb5b3c64e7233e83a3ba6f13bb52ba7989ce6e7662bebb594b276
6
+ metadata.gz: 90b40c993aaf0e83f705bd79b7037aae04d029e17668b01eb109b8518c56e3cca798b914b2eecf534a9b9a5249d03cec1f857b3a47be64759a0736dfd67dc3c4
7
+ data.tar.gz: 585515bfcf4d4d0e292d73630c329bdd3d87d38a7dd2d9f5d087c55f033b56176972fcbe0dac6d8ef36022f81b8d437c7e9a5adb36bb188d63d995bdd1972de7
data/Makefile CHANGED
@@ -436,9 +436,9 @@ E = @echo
436
436
  Q = @
437
437
  endif
438
438
 
439
- CORE_VERSION = 6.0.0
440
- CPP_VERSION = 1.14.2
441
- CSHARP_VERSION = 1.14.2
439
+ CORE_VERSION = 6.0.0-pre1
440
+ CPP_VERSION = 1.15.0-pre1
441
+ CSHARP_VERSION = 1.15.0-pre1
442
442
 
443
443
  CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
444
444
  CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
@@ -767,11 +767,20 @@ else
767
767
  LDLIBS_SECURE += $(addprefix -l, $(LIBS_SECURE))
768
768
  endif
769
769
 
770
+ # gpr .pc file
771
+ PC_NAME = gpr
772
+ PC_DESCRIPTION = gRPC platform support library
773
+ PC_CFLAGS =
774
+ PC_REQUIRES_PRIVATE = $(PC_REQUIRES_GPR)
775
+ PC_LIBS_PRIVATE = $(PC_LIBS_GPR)
776
+ PC_LIB = -lgpr
777
+ GPR_PC_FILE := $(CORE_PC_TEMPLATE)
778
+
770
779
  # grpc .pc file
771
780
  PC_NAME = gRPC
772
781
  PC_DESCRIPTION = high performance general RPC framework
773
782
  PC_CFLAGS =
774
- PC_REQUIRES_PRIVATE = $(PC_REQUIRES_GRPC) $(PC_REQUIRES_SECURE)
783
+ PC_REQUIRES_PRIVATE = gpr $(PC_REQUIRES_GRPC) $(PC_REQUIRES_SECURE)
775
784
  PC_LIBS_PRIVATE = $(PC_LIBS_GRPC) $(PC_LIBS_SECURE)
776
785
  PC_LIB = -lgrpc
777
786
  GRPC_PC_FILE := $(CORE_PC_TEMPLATE)
@@ -780,7 +789,7 @@ GRPC_PC_FILE := $(CORE_PC_TEMPLATE)
780
789
  PC_NAME = gRPC unsecure
781
790
  PC_DESCRIPTION = high performance general RPC framework without SSL
782
791
  PC_CFLAGS =
783
- PC_REQUIRES_PRIVATE = $(PC_REQUIRES_GRPC)
792
+ PC_REQUIRES_PRIVATE = gpr $(PC_REQUIRES_GRPC)
784
793
  PC_LIBS_PRIVATE = $(PC_LIBS_GRPC)
785
794
  PC_LIB = -lgrpc
786
795
  GRPC_UNSECURE_PC_FILE := $(CORE_PC_TEMPLATE)
@@ -1022,6 +1031,7 @@ grpc_completion_queue_threading_test: $(BINDIR)/$(CONFIG)/grpc_completion_queue_
1022
1031
  grpc_create_jwt: $(BINDIR)/$(CONFIG)/grpc_create_jwt
1023
1032
  grpc_credentials_test: $(BINDIR)/$(CONFIG)/grpc_credentials_test
1024
1033
  grpc_fetch_oauth2: $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2
1034
+ grpc_ipv6_loopback_available_test: $(BINDIR)/$(CONFIG)/grpc_ipv6_loopback_available_test
1025
1035
  grpc_json_token_test: $(BINDIR)/$(CONFIG)/grpc_json_token_test
1026
1036
  grpc_jwt_verifier_test: $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test
1027
1037
  grpc_print_google_default_creds_token: $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token
@@ -1043,6 +1053,7 @@ httpcli_format_request_test: $(BINDIR)/$(CONFIG)/httpcli_format_request_test
1043
1053
  httpcli_test: $(BINDIR)/$(CONFIG)/httpcli_test
1044
1054
  httpscli_test: $(BINDIR)/$(CONFIG)/httpscli_test
1045
1055
  init_test: $(BINDIR)/$(CONFIG)/init_test
1056
+ inproc_callback_test: $(BINDIR)/$(CONFIG)/inproc_callback_test
1046
1057
  invalid_call_argument_test: $(BINDIR)/$(CONFIG)/invalid_call_argument_test
1047
1058
  json_fuzzer_test: $(BINDIR)/$(CONFIG)/json_fuzzer_test
1048
1059
  json_rewrite: $(BINDIR)/$(CONFIG)/json_rewrite
@@ -1142,6 +1153,7 @@ channel_arguments_test: $(BINDIR)/$(CONFIG)/channel_arguments_test
1142
1153
  channel_filter_test: $(BINDIR)/$(CONFIG)/channel_filter_test
1143
1154
  channel_trace_test: $(BINDIR)/$(CONFIG)/channel_trace_test
1144
1155
  channelz_registry_test: $(BINDIR)/$(CONFIG)/channelz_registry_test
1156
+ channelz_service_test: $(BINDIR)/$(CONFIG)/channelz_service_test
1145
1157
  channelz_test: $(BINDIR)/$(CONFIG)/channelz_test
1146
1158
  check_gcp_environment_linux_test: $(BINDIR)/$(CONFIG)/check_gcp_environment_linux_test
1147
1159
  check_gcp_environment_windows_test: $(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test
@@ -1168,6 +1180,7 @@ grpc_alts_credentials_options_test: $(BINDIR)/$(CONFIG)/grpc_alts_credentials_op
1168
1180
  grpc_cli: $(BINDIR)/$(CONFIG)/grpc_cli
1169
1181
  grpc_cpp_plugin: $(BINDIR)/$(CONFIG)/grpc_cpp_plugin
1170
1182
  grpc_csharp_plugin: $(BINDIR)/$(CONFIG)/grpc_csharp_plugin
1183
+ grpc_linux_system_roots_test: $(BINDIR)/$(CONFIG)/grpc_linux_system_roots_test
1171
1184
  grpc_node_plugin: $(BINDIR)/$(CONFIG)/grpc_node_plugin
1172
1185
  grpc_objective_c_plugin: $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin
1173
1186
  grpc_php_plugin: $(BINDIR)/$(CONFIG)/grpc_php_plugin
@@ -1378,12 +1391,14 @@ static: static_c static_cxx
1378
1391
 
1379
1392
  static_c: pc_c pc_c_unsecure cache.mk $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a
1380
1393
 
1381
- static_cxx: pc_cxx pc_cxx_unsecure cache.mk $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc++_cronet.a $(LIBDIR)/$(CONFIG)/libgrpc++_error_details.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a
1394
+ static_cxx: pc_cxx pc_cxx_unsecure cache.mk $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc++_cronet.a $(LIBDIR)/$(CONFIG)/libgrpc++_error_details.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a
1395
+
1396
+ static_csharp: static_c $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a
1382
1397
 
1383
1398
  shared: shared_c shared_cxx
1384
1399
 
1385
1400
  shared_c: pc_c pc_c_unsecure cache.mk $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)address_sorting$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE)
1386
- shared_cxx: pc_cxx pc_cxx_unsecure cache.mk $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_cronet$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_error_details$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)
1401
+ shared_cxx: pc_cxx pc_cxx_unsecure cache.mk $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_cronet$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_error_details$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)
1387
1402
 
1388
1403
  shared_csharp: shared_c $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CSHARP).$(SHARED_EXT_CSHARP)
1389
1404
  grpc_csharp_ext: shared_csharp
@@ -1393,9 +1408,9 @@ plugins: $(PROTOC_PLUGINS)
1393
1408
  privatelibs: privatelibs_c privatelibs_cxx
1394
1409
 
1395
1410
  privatelibs_c: $(LIBDIR)/$(CONFIG)/libalts_test_util.a $(LIBDIR)/$(CONFIG)/libcxxabi.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libreconnect_server.a $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libz.a $(LIBDIR)/$(CONFIG)/libares.a $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a
1396
- pc_c: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc
1411
+ pc_c: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc $(LIBDIR)/$(CONFIG)/pkgconfig/gpr.pc
1397
1412
 
1398
- pc_c_unsecure: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc
1413
+ pc_c_unsecure: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc $(LIBDIR)/$(CONFIG)/pkgconfig/gpr.pc
1399
1414
 
1400
1415
  pc_cxx: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc
1401
1416
 
@@ -1469,6 +1484,7 @@ buildtests_c: privatelibs_c \
1469
1484
  $(BINDIR)/$(CONFIG)/grpc_completion_queue_threading_test \
1470
1485
  $(BINDIR)/$(CONFIG)/grpc_credentials_test \
1471
1486
  $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2 \
1487
+ $(BINDIR)/$(CONFIG)/grpc_ipv6_loopback_available_test \
1472
1488
  $(BINDIR)/$(CONFIG)/grpc_json_token_test \
1473
1489
  $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test \
1474
1490
  $(BINDIR)/$(CONFIG)/grpc_security_connector_test \
@@ -1485,6 +1501,7 @@ buildtests_c: privatelibs_c \
1485
1501
  $(BINDIR)/$(CONFIG)/httpcli_test \
1486
1502
  $(BINDIR)/$(CONFIG)/httpscli_test \
1487
1503
  $(BINDIR)/$(CONFIG)/init_test \
1504
+ $(BINDIR)/$(CONFIG)/inproc_callback_test \
1488
1505
  $(BINDIR)/$(CONFIG)/invalid_call_argument_test \
1489
1506
  $(BINDIR)/$(CONFIG)/json_rewrite \
1490
1507
  $(BINDIR)/$(CONFIG)/json_rewrite_test \
@@ -1640,6 +1657,7 @@ buildtests_cxx: privatelibs_cxx \
1640
1657
  $(BINDIR)/$(CONFIG)/channel_filter_test \
1641
1658
  $(BINDIR)/$(CONFIG)/channel_trace_test \
1642
1659
  $(BINDIR)/$(CONFIG)/channelz_registry_test \
1660
+ $(BINDIR)/$(CONFIG)/channelz_service_test \
1643
1661
  $(BINDIR)/$(CONFIG)/channelz_test \
1644
1662
  $(BINDIR)/$(CONFIG)/check_gcp_environment_linux_test \
1645
1663
  $(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test \
@@ -1664,6 +1682,7 @@ buildtests_cxx: privatelibs_cxx \
1664
1682
  $(BINDIR)/$(CONFIG)/golden_file_test \
1665
1683
  $(BINDIR)/$(CONFIG)/grpc_alts_credentials_options_test \
1666
1684
  $(BINDIR)/$(CONFIG)/grpc_cli \
1685
+ $(BINDIR)/$(CONFIG)/grpc_linux_system_roots_test \
1667
1686
  $(BINDIR)/$(CONFIG)/grpc_tool_test \
1668
1687
  $(BINDIR)/$(CONFIG)/grpclb_api_test \
1669
1688
  $(BINDIR)/$(CONFIG)/grpclb_end2end_test \
@@ -1818,6 +1837,7 @@ buildtests_cxx: privatelibs_cxx \
1818
1837
  $(BINDIR)/$(CONFIG)/channel_filter_test \
1819
1838
  $(BINDIR)/$(CONFIG)/channel_trace_test \
1820
1839
  $(BINDIR)/$(CONFIG)/channelz_registry_test \
1840
+ $(BINDIR)/$(CONFIG)/channelz_service_test \
1821
1841
  $(BINDIR)/$(CONFIG)/channelz_test \
1822
1842
  $(BINDIR)/$(CONFIG)/check_gcp_environment_linux_test \
1823
1843
  $(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test \
@@ -1842,6 +1862,7 @@ buildtests_cxx: privatelibs_cxx \
1842
1862
  $(BINDIR)/$(CONFIG)/golden_file_test \
1843
1863
  $(BINDIR)/$(CONFIG)/grpc_alts_credentials_options_test \
1844
1864
  $(BINDIR)/$(CONFIG)/grpc_cli \
1865
+ $(BINDIR)/$(CONFIG)/grpc_linux_system_roots_test \
1845
1866
  $(BINDIR)/$(CONFIG)/grpc_tool_test \
1846
1867
  $(BINDIR)/$(CONFIG)/grpclb_api_test \
1847
1868
  $(BINDIR)/$(CONFIG)/grpclb_end2end_test \
@@ -2023,6 +2044,8 @@ test_c: buildtests_c
2023
2044
  $(Q) $(BINDIR)/$(CONFIG)/grpc_completion_queue_threading_test || ( echo test grpc_completion_queue_threading_test failed ; exit 1 )
2024
2045
  $(E) "[RUN] Testing grpc_credentials_test"
2025
2046
  $(Q) $(BINDIR)/$(CONFIG)/grpc_credentials_test || ( echo test grpc_credentials_test failed ; exit 1 )
2047
+ $(E) "[RUN] Testing grpc_ipv6_loopback_available_test"
2048
+ $(Q) $(BINDIR)/$(CONFIG)/grpc_ipv6_loopback_available_test || ( echo test grpc_ipv6_loopback_available_test failed ; exit 1 )
2026
2049
  $(E) "[RUN] Testing grpc_json_token_test"
2027
2050
  $(Q) $(BINDIR)/$(CONFIG)/grpc_json_token_test || ( echo test grpc_json_token_test failed ; exit 1 )
2028
2051
  $(E) "[RUN] Testing grpc_jwt_verifier_test"
@@ -2055,6 +2078,8 @@ test_c: buildtests_c
2055
2078
  $(Q) $(BINDIR)/$(CONFIG)/httpscli_test || ( echo test httpscli_test failed ; exit 1 )
2056
2079
  $(E) "[RUN] Testing init_test"
2057
2080
  $(Q) $(BINDIR)/$(CONFIG)/init_test || ( echo test init_test failed ; exit 1 )
2081
+ $(E) "[RUN] Testing inproc_callback_test"
2082
+ $(Q) $(BINDIR)/$(CONFIG)/inproc_callback_test || ( echo test inproc_callback_test failed ; exit 1 )
2058
2083
  $(E) "[RUN] Testing invalid_call_argument_test"
2059
2084
  $(Q) $(BINDIR)/$(CONFIG)/invalid_call_argument_test || ( echo test invalid_call_argument_test failed ; exit 1 )
2060
2085
  $(E) "[RUN] Testing json_rewrite_test"
@@ -2261,6 +2286,8 @@ test_cxx: buildtests_cxx
2261
2286
  $(Q) $(BINDIR)/$(CONFIG)/channel_trace_test || ( echo test channel_trace_test failed ; exit 1 )
2262
2287
  $(E) "[RUN] Testing channelz_registry_test"
2263
2288
  $(Q) $(BINDIR)/$(CONFIG)/channelz_registry_test || ( echo test channelz_registry_test failed ; exit 1 )
2289
+ $(E) "[RUN] Testing channelz_service_test"
2290
+ $(Q) $(BINDIR)/$(CONFIG)/channelz_service_test || ( echo test channelz_service_test failed ; exit 1 )
2264
2291
  $(E) "[RUN] Testing channelz_test"
2265
2292
  $(Q) $(BINDIR)/$(CONFIG)/channelz_test || ( echo test channelz_test failed ; exit 1 )
2266
2293
  $(E) "[RUN] Testing check_gcp_environment_linux_test"
@@ -2305,6 +2332,8 @@ test_cxx: buildtests_cxx
2305
2332
  $(Q) $(BINDIR)/$(CONFIG)/golden_file_test || ( echo test golden_file_test failed ; exit 1 )
2306
2333
  $(E) "[RUN] Testing grpc_alts_credentials_options_test"
2307
2334
  $(Q) $(BINDIR)/$(CONFIG)/grpc_alts_credentials_options_test || ( echo test grpc_alts_credentials_options_test failed ; exit 1 )
2335
+ $(E) "[RUN] Testing grpc_linux_system_roots_test"
2336
+ $(Q) $(BINDIR)/$(CONFIG)/grpc_linux_system_roots_test || ( echo test grpc_linux_system_roots_test failed ; exit 1 )
2308
2337
  $(E) "[RUN] Testing grpc_tool_test"
2309
2338
  $(Q) $(BINDIR)/$(CONFIG)/grpc_tool_test || ( echo test grpc_tool_test failed ; exit 1 )
2310
2339
  $(E) "[RUN] Testing grpclb_api_test"
@@ -2459,6 +2488,8 @@ ifeq ($(CONFIG),opt)
2459
2488
  $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a
2460
2489
  $(E) "[STRIP] Stripping libgrpc++_unsecure.a"
2461
2490
  $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a
2491
+ $(E) "[STRIP] Stripping libgrpcpp_channelz.a"
2492
+ $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a
2462
2493
  endif
2463
2494
 
2464
2495
  strip-shared_c: shared_c
@@ -2487,6 +2518,8 @@ ifeq ($(CONFIG),opt)
2487
2518
  $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)
2488
2519
  $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)"
2489
2520
  $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)
2521
+ $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)"
2522
+ $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)
2490
2523
  endif
2491
2524
 
2492
2525
  strip-shared_csharp: shared_csharp
@@ -2499,6 +2532,11 @@ cache.mk::
2499
2532
  $(E) "[MAKE] Generating $@"
2500
2533
  $(Q) echo "$(CACHE_MK)" | tr , '\n' >$@
2501
2534
 
2535
+ $(LIBDIR)/$(CONFIG)/pkgconfig/gpr.pc:
2536
+ $(E) "[MAKE] Generating $@"
2537
+ $(Q) mkdir -p $(@D)
2538
+ $(Q) echo "$(GPR_PC_FILE)" | tr , '\n' >$@
2539
+
2502
2540
  $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc:
2503
2541
  $(E) "[MAKE] Generating $@"
2504
2542
  $(Q) mkdir -p $(@D)
@@ -2946,6 +2984,9 @@ install-static_cxx: static_cxx strip-static_cxx install-pkg-config_cxx
2946
2984
  $(E) "[INSTALL] Installing libgrpc++_unsecure.a"
2947
2985
  $(Q) $(INSTALL) -d $(prefix)/lib
2948
2986
  $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a $(prefix)/lib/libgrpc++_unsecure.a
2987
+ $(E) "[INSTALL] Installing libgrpcpp_channelz.a"
2988
+ $(Q) $(INSTALL) -d $(prefix)/lib
2989
+ $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a $(prefix)/lib/libgrpcpp_channelz.a
2949
2990
 
2950
2991
 
2951
2992
 
@@ -3047,6 +3088,15 @@ ifeq ($(SYSTEM),MINGW32)
3047
3088
  else ifneq ($(SYSTEM),Darwin)
3048
3089
  $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_unsecure.so.6
3049
3090
  $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpc++_unsecure.so
3091
+ endif
3092
+ $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)"
3093
+ $(Q) $(INSTALL) -d $(prefix)/lib
3094
+ $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/$(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)
3095
+ ifeq ($(SYSTEM),MINGW32)
3096
+ $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz$(SHARED_VERSION_CPP)-dll.a $(prefix)/lib/libgrpcpp_channelz.a
3097
+ else ifneq ($(SYSTEM),Darwin)
3098
+ $(Q) ln -sf $(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpcpp_channelz.so.6
3099
+ $(Q) ln -sf $(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/lib/libgrpcpp_channelz.so
3050
3100
  endif
3051
3101
  ifneq ($(SYSTEM),MINGW32)
3052
3102
  ifneq ($(SYSTEM),Darwin)
@@ -3097,6 +3147,7 @@ install-grpc-cli: grpc_cli
3097
3147
  install-pkg-config_c: pc_c pc_c_unsecure
3098
3148
  $(E) "[INSTALL] Installing C pkg-config files"
3099
3149
  $(Q) $(INSTALL) -d $(prefix)/lib/pkgconfig
3150
+ $(Q) $(INSTALL) -m 0644 $(LIBDIR)/$(CONFIG)/pkgconfig/gpr.pc $(prefix)/lib/pkgconfig/gpr.pc
3100
3151
  $(Q) $(INSTALL) -m 0644 $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc $(prefix)/lib/pkgconfig/grpc.pc
3101
3152
  $(Q) $(INSTALL) -m 0644 $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc $(prefix)/lib/pkgconfig/grpc_unsecure.pc
3102
3153
 
@@ -3581,6 +3632,8 @@ LIBGRPC_SRC = \
3581
3632
  src/core/lib/security/credentials/plugin/plugin_credentials.cc \
3582
3633
  src/core/lib/security/credentials/ssl/ssl_credentials.cc \
3583
3634
  src/core/lib/security/security_connector/alts_security_connector.cc \
3635
+ src/core/lib/security/security_connector/load_system_roots_fallback.cc \
3636
+ src/core/lib/security/security_connector/load_system_roots_linux.cc \
3584
3637
  src/core/lib/security/security_connector/local_security_connector.cc \
3585
3638
  src/core/lib/security/security_connector/security_connector.cc \
3586
3639
  src/core/lib/security/transport/client_auth_filter.cc \
@@ -3681,11 +3734,14 @@ LIBGRPC_SRC = \
3681
3734
  src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc \
3682
3735
  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc \
3683
3736
  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc \
3737
+ src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc \
3684
3738
  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc \
3685
3739
  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc \
3740
+ src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc \
3741
+ src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc \
3686
3742
  src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc \
3687
3743
  src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc \
3688
- src/cpp/ext/filters/census/grpc_context.cc \
3744
+ src/core/ext/filters/census/grpc_context.cc \
3689
3745
  src/core/ext/filters/max_age/max_age_filter.cc \
3690
3746
  src/core/ext/filters/message_size/message_size_filter.cc \
3691
3747
  src/core/ext/filters/http/client_authority_filter.cc \
@@ -4007,6 +4063,8 @@ LIBGRPC_CRONET_SRC = \
4007
4063
  src/core/lib/security/credentials/plugin/plugin_credentials.cc \
4008
4064
  src/core/lib/security/credentials/ssl/ssl_credentials.cc \
4009
4065
  src/core/lib/security/security_connector/alts_security_connector.cc \
4066
+ src/core/lib/security/security_connector/load_system_roots_fallback.cc \
4067
+ src/core/lib/security/security_connector/load_system_roots_linux.cc \
4010
4068
  src/core/lib/security/security_connector/local_security_connector.cc \
4011
4069
  src/core/lib/security/security_connector/security_connector.cc \
4012
4070
  src/core/lib/security/transport/client_auth_filter.cc \
@@ -4949,8 +5007,11 @@ LIBGRPC_UNSECURE_SRC = \
4949
5007
  src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc \
4950
5008
  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc \
4951
5009
  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc \
5010
+ src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc \
4952
5011
  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc \
4953
5012
  src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc \
5013
+ src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc \
5014
+ src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc \
4954
5015
  src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc \
4955
5016
  src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc \
4956
5017
  src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc \
@@ -4967,7 +5028,7 @@ LIBGRPC_UNSECURE_SRC = \
4967
5028
  third_party/nanopb/pb_encode.c \
4968
5029
  src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc \
4969
5030
  src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc \
4970
- src/cpp/ext/filters/census/grpc_context.cc \
5031
+ src/core/ext/filters/census/grpc_context.cc \
4971
5032
  src/core/ext/filters/max_age/max_age_filter.cc \
4972
5033
  src/core/ext/filters/message_size/message_size_filter.cc \
4973
5034
  src/core/ext/filters/http/client_authority_filter.cc \
@@ -5743,7 +5804,7 @@ LIBGRPC++_CRONET_SRC = \
5743
5804
  src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc \
5744
5805
  src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc \
5745
5806
  src/core/ext/transport/chttp2/server/chttp2_server.cc \
5746
- src/cpp/ext/filters/census/grpc_context.cc \
5807
+ src/core/ext/filters/census/grpc_context.cc \
5747
5808
 
5748
5809
  PUBLIC_HEADERS_CXX += \
5749
5810
  include/grpc++/alarm.h \
@@ -7021,6 +7082,79 @@ ifneq ($(NO_DEPS),true)
7021
7082
  endif
7022
7083
 
7023
7084
 
7085
+ LIBGRPCPP_CHANNELZ_SRC = \
7086
+ src/cpp/server/channelz/channelz_service.cc \
7087
+ src/cpp/server/channelz/channelz_service_plugin.cc \
7088
+ $(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc $(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc \
7089
+
7090
+ PUBLIC_HEADERS_CXX += \
7091
+ include/grpcpp/ext/channelz_service_plugin.h \
7092
+
7093
+ LIBGRPCPP_CHANNELZ_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPCPP_CHANNELZ_SRC))))
7094
+
7095
+
7096
+ ifeq ($(NO_SECURE),true)
7097
+
7098
+ # You can't build secure libraries if you don't have OpenSSL.
7099
+
7100
+ $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a: openssl_dep_error
7101
+
7102
+ $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP): openssl_dep_error
7103
+
7104
+ else
7105
+
7106
+ ifeq ($(NO_PROTOBUF),true)
7107
+
7108
+ # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay.
7109
+
7110
+ $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a: protobuf_dep_error
7111
+
7112
+ $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP): protobuf_dep_error
7113
+
7114
+ else
7115
+
7116
+ $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(PROTOBUF_DEP) $(LIBGRPCPP_CHANNELZ_OBJS)
7117
+ $(E) "[AR] Creating $@"
7118
+ $(Q) mkdir -p `dirname $@`
7119
+ $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a
7120
+ $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a $(LIBGRPCPP_CHANNELZ_OBJS)
7121
+ ifeq ($(SYSTEM),Darwin)
7122
+ $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a
7123
+ endif
7124
+
7125
+
7126
+
7127
+ ifeq ($(SYSTEM),MINGW32)
7128
+ $(LIBDIR)/$(CONFIG)/grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP): $(LIBGRPCPP_CHANNELZ_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(PROTOBUF_DEP) $(LIBDIR)/$(CONFIG)/grpc++$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(OPENSSL_DEP)
7129
+ $(E) "[LD] Linking $@"
7130
+ $(Q) mkdir -p `dirname $@`
7131
+ $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpcpp_channelz$(SHARED_VERSION_CPP).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpcpp_channelz$(SHARED_VERSION_CPP)-dll.a -o $(LIBDIR)/$(CONFIG)/grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBGRPCPP_CHANNELZ_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) -lgrpc++$(SHARED_VERSION_CPP)-dll -lgrpc$(SHARED_VERSION_CORE)-dll
7132
+ else
7133
+ $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP): $(LIBGRPCPP_CHANNELZ_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(PROTOBUF_DEP) $(LIBDIR)/$(CONFIG)/libgrpc++.$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/libgrpc.$(SHARED_EXT_CORE) $(OPENSSL_DEP)
7134
+ $(E) "[LD] Linking $@"
7135
+ $(Q) mkdir -p `dirname $@`
7136
+ ifeq ($(SYSTEM),Darwin)
7137
+ $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBGRPCPP_CHANNELZ_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) -lgrpc++ -lgrpc
7138
+ else
7139
+ $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpcpp_channelz.so.1 -o $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBGRPCPP_CHANNELZ_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) -lgrpc++ -lgrpc
7140
+ $(Q) ln -sf $(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz$(SHARED_VERSION_CPP).so.1
7141
+ $(Q) ln -sf $(SHARED_PREFIX)grpcpp_channelz$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz$(SHARED_VERSION_CPP).so
7142
+ endif
7143
+ endif
7144
+
7145
+ endif
7146
+
7147
+ endif
7148
+
7149
+ ifneq ($(NO_SECURE),true)
7150
+ ifneq ($(NO_DEPS),true)
7151
+ -include $(LIBGRPCPP_CHANNELZ_OBJS:.o=.dep)
7152
+ endif
7153
+ endif
7154
+ $(OBJDIR)/$(CONFIG)/src/cpp/server/channelz/channelz_service.o: $(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc $(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc
7155
+ $(OBJDIR)/$(CONFIG)/src/cpp/server/channelz/channelz_service_plugin.o: $(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc $(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc
7156
+
7157
+
7024
7158
  LIBHTTP2_CLIENT_MAIN_SRC = \
7025
7159
  $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \
7026
7160
  $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \
@@ -7344,6 +7478,7 @@ LIBQPS_SRC = \
7344
7478
  test/cpp/qps/client_sync.cc \
7345
7479
  test/cpp/qps/driver.cc \
7346
7480
  test/cpp/qps/parse_json.cc \
7481
+ test/cpp/qps/qps_server_builder.cc \
7347
7482
  test/cpp/qps/qps_worker.cc \
7348
7483
  test/cpp/qps/report.cc \
7349
7484
  test/cpp/qps/server_async.cc \
@@ -7399,6 +7534,7 @@ $(OBJDIR)/$(CONFIG)/test/cpp/qps/client_async.o: $(GENDIR)/src/proto/grpc/testin
7399
7534
  $(OBJDIR)/$(CONFIG)/test/cpp/qps/client_sync.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.grpc.pb.cc
7400
7535
  $(OBJDIR)/$(CONFIG)/test/cpp/qps/driver.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.grpc.pb.cc
7401
7536
  $(OBJDIR)/$(CONFIG)/test/cpp/qps/parse_json.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.grpc.pb.cc
7537
+ $(OBJDIR)/$(CONFIG)/test/cpp/qps/qps_server_builder.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.grpc.pb.cc
7402
7538
  $(OBJDIR)/$(CONFIG)/test/cpp/qps/qps_worker.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.grpc.pb.cc
7403
7539
  $(OBJDIR)/$(CONFIG)/test/cpp/qps/report.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.grpc.pb.cc
7404
7540
  $(OBJDIR)/$(CONFIG)/test/cpp/qps/server_async.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.pb.cc $(GENDIR)/src/proto/grpc/testing/benchmark_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.pb.cc $(GENDIR)/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.pb.cc $(GENDIR)/src/proto/grpc/testing/worker_service.grpc.pb.cc
@@ -12267,6 +12403,38 @@ endif
12267
12403
  endif
12268
12404
 
12269
12405
 
12406
+ GRPC_IPV6_LOOPBACK_AVAILABLE_TEST_SRC = \
12407
+ test/core/iomgr/grpc_ipv6_loopback_available_test.cc \
12408
+
12409
+ GRPC_IPV6_LOOPBACK_AVAILABLE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_IPV6_LOOPBACK_AVAILABLE_TEST_SRC))))
12410
+ ifeq ($(NO_SECURE),true)
12411
+
12412
+ # You can't build secure targets if you don't have OpenSSL.
12413
+
12414
+ $(BINDIR)/$(CONFIG)/grpc_ipv6_loopback_available_test: openssl_dep_error
12415
+
12416
+ else
12417
+
12418
+
12419
+
12420
+ $(BINDIR)/$(CONFIG)/grpc_ipv6_loopback_available_test: $(GRPC_IPV6_LOOPBACK_AVAILABLE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
12421
+ $(E) "[LD] Linking $@"
12422
+ $(Q) mkdir -p `dirname $@`
12423
+ $(Q) $(LD) $(LDFLAGS) $(GRPC_IPV6_LOOPBACK_AVAILABLE_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)/grpc_ipv6_loopback_available_test
12424
+
12425
+ endif
12426
+
12427
+ $(OBJDIR)/$(CONFIG)/test/core/iomgr/grpc_ipv6_loopback_available_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
12428
+
12429
+ deps_grpc_ipv6_loopback_available_test: $(GRPC_IPV6_LOOPBACK_AVAILABLE_TEST_OBJS:.o=.dep)
12430
+
12431
+ ifneq ($(NO_SECURE),true)
12432
+ ifneq ($(NO_DEPS),true)
12433
+ -include $(GRPC_IPV6_LOOPBACK_AVAILABLE_TEST_OBJS:.o=.dep)
12434
+ endif
12435
+ endif
12436
+
12437
+
12270
12438
  GRPC_JSON_TOKEN_TEST_SRC = \
12271
12439
  test/core/security/json_token_test.cc \
12272
12440
 
@@ -12951,6 +13119,38 @@ endif
12951
13119
  endif
12952
13120
 
12953
13121
 
13122
+ INPROC_CALLBACK_TEST_SRC = \
13123
+ test/core/end2end/inproc_callback_test.cc \
13124
+
13125
+ INPROC_CALLBACK_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INPROC_CALLBACK_TEST_SRC))))
13126
+ ifeq ($(NO_SECURE),true)
13127
+
13128
+ # You can't build secure targets if you don't have OpenSSL.
13129
+
13130
+ $(BINDIR)/$(CONFIG)/inproc_callback_test: openssl_dep_error
13131
+
13132
+ else
13133
+
13134
+
13135
+
13136
+ $(BINDIR)/$(CONFIG)/inproc_callback_test: $(INPROC_CALLBACK_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
13137
+ $(E) "[LD] Linking $@"
13138
+ $(Q) mkdir -p `dirname $@`
13139
+ $(Q) $(LD) $(LDFLAGS) $(INPROC_CALLBACK_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)/inproc_callback_test
13140
+
13141
+ endif
13142
+
13143
+ $(OBJDIR)/$(CONFIG)/test/core/end2end/inproc_callback_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
13144
+
13145
+ deps_inproc_callback_test: $(INPROC_CALLBACK_TEST_OBJS:.o=.dep)
13146
+
13147
+ ifneq ($(NO_SECURE),true)
13148
+ ifneq ($(NO_DEPS),true)
13149
+ -include $(INPROC_CALLBACK_TEST_OBJS:.o=.dep)
13150
+ endif
13151
+ endif
13152
+
13153
+
12954
13154
  INVALID_CALL_ARGUMENT_TEST_SRC = \
12955
13155
  test/core/end2end/invalid_call_argument_test.cc \
12956
13156
 
@@ -16562,6 +16762,53 @@ endif
16562
16762
  endif
16563
16763
 
16564
16764
 
16765
+ CHANNELZ_SERVICE_TEST_SRC = \
16766
+ test/cpp/end2end/channelz_service_test.cc \
16767
+ $(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc $(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc \
16768
+
16769
+ CHANNELZ_SERVICE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHANNELZ_SERVICE_TEST_SRC))))
16770
+ ifeq ($(NO_SECURE),true)
16771
+
16772
+ # You can't build secure targets if you don't have OpenSSL.
16773
+
16774
+ $(BINDIR)/$(CONFIG)/channelz_service_test: openssl_dep_error
16775
+
16776
+ else
16777
+
16778
+
16779
+
16780
+
16781
+ ifeq ($(NO_PROTOBUF),true)
16782
+
16783
+ # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.5.0+.
16784
+
16785
+ $(BINDIR)/$(CONFIG)/channelz_service_test: protobuf_dep_error
16786
+
16787
+ else
16788
+
16789
+ $(BINDIR)/$(CONFIG)/channelz_service_test: $(PROTOBUF_DEP) $(CHANNELZ_SERVICE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a $(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
16790
+ $(E) "[LD] Linking $@"
16791
+ $(Q) mkdir -p `dirname $@`
16792
+ $(Q) $(LDXX) $(LDFLAGS) $(CHANNELZ_SERVICE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a $(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)/channelz_service_test
16793
+
16794
+ endif
16795
+
16796
+ endif
16797
+
16798
+ $(OBJDIR)/$(CONFIG)/test/cpp/end2end/channelz_service_test.o: $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a $(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
16799
+
16800
+ $(OBJDIR)/$(CONFIG)/src/proto/grpc/channelz/channelz.o: $(LIBDIR)/$(CONFIG)/libgrpcpp_channelz.a $(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
16801
+
16802
+ deps_channelz_service_test: $(CHANNELZ_SERVICE_TEST_OBJS:.o=.dep)
16803
+
16804
+ ifneq ($(NO_SECURE),true)
16805
+ ifneq ($(NO_DEPS),true)
16806
+ -include $(CHANNELZ_SERVICE_TEST_OBJS:.o=.dep)
16807
+ endif
16808
+ endif
16809
+ $(OBJDIR)/$(CONFIG)/test/cpp/end2end/channelz_service_test.o: $(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc $(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc
16810
+
16811
+
16565
16812
  CHANNELZ_TEST_SRC = \
16566
16813
  test/core/channel/channelz_test.cc \
16567
16814
  $(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc $(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc \
@@ -17720,6 +17967,49 @@ ifneq ($(NO_DEPS),true)
17720
17967
  endif
17721
17968
 
17722
17969
 
17970
+ GRPC_LINUX_SYSTEM_ROOTS_TEST_SRC = \
17971
+ test/core/security/linux_system_roots_test.cc \
17972
+
17973
+ GRPC_LINUX_SYSTEM_ROOTS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_LINUX_SYSTEM_ROOTS_TEST_SRC))))
17974
+ ifeq ($(NO_SECURE),true)
17975
+
17976
+ # You can't build secure targets if you don't have OpenSSL.
17977
+
17978
+ $(BINDIR)/$(CONFIG)/grpc_linux_system_roots_test: openssl_dep_error
17979
+
17980
+ else
17981
+
17982
+
17983
+
17984
+
17985
+ ifeq ($(NO_PROTOBUF),true)
17986
+
17987
+ # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.5.0+.
17988
+
17989
+ $(BINDIR)/$(CONFIG)/grpc_linux_system_roots_test: protobuf_dep_error
17990
+
17991
+ else
17992
+
17993
+ $(BINDIR)/$(CONFIG)/grpc_linux_system_roots_test: $(PROTOBUF_DEP) $(GRPC_LINUX_SYSTEM_ROOTS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
17994
+ $(E) "[LD] Linking $@"
17995
+ $(Q) mkdir -p `dirname $@`
17996
+ $(Q) $(LDXX) $(LDFLAGS) $(GRPC_LINUX_SYSTEM_ROOTS_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)/grpc_linux_system_roots_test
17997
+
17998
+ endif
17999
+
18000
+ endif
18001
+
18002
+ $(OBJDIR)/$(CONFIG)/test/core/security/linux_system_roots_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
18003
+
18004
+ deps_grpc_linux_system_roots_test: $(GRPC_LINUX_SYSTEM_ROOTS_TEST_OBJS:.o=.dep)
18005
+
18006
+ ifneq ($(NO_SECURE),true)
18007
+ ifneq ($(NO_DEPS),true)
18008
+ -include $(GRPC_LINUX_SYSTEM_ROOTS_TEST_OBJS:.o=.dep)
18009
+ endif
18010
+ endif
18011
+
18012
+
17723
18013
  GRPC_NODE_PLUGIN_SRC = \
17724
18014
  src/compiler/node_plugin.cc \
17725
18015
 
@@ -24464,6 +24754,8 @@ src/core/lib/security/credentials/oauth2/oauth2_credentials.cc: $(OPENSSL_DEP)
24464
24754
  src/core/lib/security/credentials/plugin/plugin_credentials.cc: $(OPENSSL_DEP)
24465
24755
  src/core/lib/security/credentials/ssl/ssl_credentials.cc: $(OPENSSL_DEP)
24466
24756
  src/core/lib/security/security_connector/alts_security_connector.cc: $(OPENSSL_DEP)
24757
+ src/core/lib/security/security_connector/load_system_roots_fallback.cc: $(OPENSSL_DEP)
24758
+ src/core/lib/security/security_connector/load_system_roots_linux.cc: $(OPENSSL_DEP)
24467
24759
  src/core/lib/security/security_connector/local_security_connector.cc: $(OPENSSL_DEP)
24468
24760
  src/core/lib/security/security_connector/security_connector.cc: $(OPENSSL_DEP)
24469
24761
  src/core/lib/security/transport/client_auth_filter.cc: $(OPENSSL_DEP)
@@ -24517,6 +24809,8 @@ src/cpp/common/secure_channel_arguments.cc: $(OPENSSL_DEP)
24517
24809
  src/cpp/common/secure_create_auth_context.cc: $(OPENSSL_DEP)
24518
24810
  src/cpp/ext/proto_server_reflection.cc: $(OPENSSL_DEP)
24519
24811
  src/cpp/ext/proto_server_reflection_plugin.cc: $(OPENSSL_DEP)
24812
+ src/cpp/server/channelz/channelz_service.cc: $(OPENSSL_DEP)
24813
+ src/cpp/server/channelz/channelz_service_plugin.cc: $(OPENSSL_DEP)
24520
24814
  src/cpp/server/secure_server_credentials.cc: $(OPENSSL_DEP)
24521
24815
  src/cpp/util/core_stats.cc: $(OPENSSL_DEP)
24522
24816
  src/cpp/util/error_details.cc: $(OPENSSL_DEP)
@@ -24548,6 +24842,7 @@ test/cpp/qps/client_async.cc: $(OPENSSL_DEP)
24548
24842
  test/cpp/qps/client_sync.cc: $(OPENSSL_DEP)
24549
24843
  test/cpp/qps/driver.cc: $(OPENSSL_DEP)
24550
24844
  test/cpp/qps/parse_json.cc: $(OPENSSL_DEP)
24845
+ test/cpp/qps/qps_server_builder.cc: $(OPENSSL_DEP)
24551
24846
  test/cpp/qps/qps_worker.cc: $(OPENSSL_DEP)
24552
24847
  test/cpp/qps/report.cc: $(OPENSSL_DEP)
24553
24848
  test/cpp/qps/server_async.cc: $(OPENSSL_DEP)