aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Makarand Dharmapurikar <makarandd@google.com>2016-06-01 18:32:42 -0700
committerGravatar Makarand Dharmapurikar <makarandd@google.com>2016-06-01 18:32:42 -0700
commiteaf5426e7b734915bab7392d0817deb0dace425c (patch)
tree19e49fb518667fd25e7744fad725b6e64b62a743 /src
parent2a2321b384747ae77a6d3bb9f39578dc8d0ddabb (diff)
fixed dependency problem in grpc_cronet by adding dep on chttp2
Diffstat (limited to 'src')
-rw-r--r--src/core/plugin_registry/grpc_cronet_plugin_registry.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/plugin_registry/grpc_cronet_plugin_registry.c b/src/core/plugin_registry/grpc_cronet_plugin_registry.c
index 0fd6f1ce9e..d0b5f5c702 100644
--- a/src/core/plugin_registry/grpc_cronet_plugin_registry.c
+++ b/src/core/plugin_registry/grpc_cronet_plugin_registry.c
@@ -33,6 +33,14 @@
#include <grpc/grpc.h>
+extern void grpc_chttp2_plugin_init(void);
+extern void grpc_chttp2_plugin_shutdown(void);
+extern void grpc_client_config_init(void);
+extern void grpc_client_config_shutdown(void);
void grpc_register_built_in_plugins(void) {
+ grpc_register_plugin(grpc_chttp2_plugin_init,
+ grpc_chttp2_plugin_shutdown);
+ grpc_register_plugin(grpc_client_config_init,
+ grpc_client_config_shutdown);
}