[generic API] add separate targets for cq generic stub/service (#36447) (#37838)

This allows to restrict CQ based generic stub/service use.

See https://github.com/grpc/proposal/pull/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 #37838

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/37838 from yousukseung:generic-stub 3e7c558372
PiperOrigin-RevId: 681932616
pull/37841/head
Yousuk Seung 2 months ago committed by Copybara-Service
parent 0979765fd3
commit 00545fa0fa
  1. 24
      BUILD

24
BUILD

@ -2961,6 +2961,18 @@ grpc_cc_library(
], ],
) )
grpc_cc_library(
name = "generic_stub",
hdrs = [
"include/grpcpp/generic/generic_stub.h",
],
language = "c++",
visibility = ["@grpc:public"],
deps = [
"generic_stub_internal",
],
)
grpc_cc_library( grpc_cc_library(
name = "generic_stub_callback", name = "generic_stub_callback",
hdrs = [ hdrs = [
@ -2973,6 +2985,18 @@ grpc_cc_library(
], ],
) )
grpc_cc_library(
name = "async_generic_service",
hdrs = [
"include/grpcpp/generic/async_generic_service.h",
],
language = "c++",
visibility = ["@grpc:public"],
deps = [
"grpc++_public_hdrs",
],
)
grpc_cc_library( grpc_cc_library(
name = "callback_generic_service", name = "callback_generic_service",
hdrs = [ hdrs = [

Loading…
Cancel
Save