Skip to content

Commit 00545fa

Browse files
yousukseungcopybara-github
authored andcommitted
[generic API] add separate targets for cq generic stub/service (grpc#36447) (grpc#37838)
This allows to restrict CQ based generic stub/service use. See grpc/proposal#426 <!-- If you know who should review your pull request, please assign it to that person, otherwise the pull request would get assigned randomly. If your pull request is for a specific language, please add the appropriate lang label. --> Closes grpc#37838 COPYBARA_INTEGRATE_REVIEW=grpc#37838 from yousukseung:generic-stub 3e7c558 PiperOrigin-RevId: 681932616
1 parent 0979765 commit 00545fa

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

BUILD

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2961,6 +2961,18 @@ grpc_cc_library(
29612961
],
29622962
)
29632963

2964+
grpc_cc_library(
2965+
name = "generic_stub",
2966+
hdrs = [
2967+
"include/grpcpp/generic/generic_stub.h",
2968+
],
2969+
language = "c++",
2970+
visibility = ["@grpc:public"],
2971+
deps = [
2972+
"generic_stub_internal",
2973+
],
2974+
)
2975+
29642976
grpc_cc_library(
29652977
name = "generic_stub_callback",
29662978
hdrs = [
@@ -2973,6 +2985,18 @@ grpc_cc_library(
29732985
],
29742986
)
29752987

2988+
grpc_cc_library(
2989+
name = "async_generic_service",
2990+
hdrs = [
2991+
"include/grpcpp/generic/async_generic_service.h",
2992+
],
2993+
language = "c++",
2994+
visibility = ["@grpc:public"],
2995+
deps = [
2996+
"grpc++_public_hdrs",
2997+
],
2998+
)
2999+
29763000
grpc_cc_library(
29773001
name = "callback_generic_service",
29783002
hdrs = [

0 commit comments

Comments
 (0)