New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove grpc_codegen
#30960
Remove grpc_codegen
#30960
Conversation
@@ -2169,7 +2167,7 @@ grpc_cc_library( | |||
deps = [ | |||
"gpr", | |||
"gpr_spinlock", | |||
"grpc_codegen", | |||
"grpc_public_hdrs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like here and in other places we want some concrete target, not the headers only target - or am I missing something?
Please check that we're only consuming interface not implementation, and either fix the dependency or include a note in the review for why this is safe here and in all places we're using this target.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have checked with original build target https://github.com/grpc/grpc/blob/master/BUILD#L4263-L4278. It has only public headers, which best corresponds to the grpc_public_hdrs
.
Previous try was using grpc_base
. However, cherry picking fails due to linkage error. This is mysterious and I have no idea so far.
This reverts commit b2d64ef.
This reverts commit eada386.
This PR requires cherry picking before merging.
In #30570, build target
grpc_codegen
has been merged togrpc_base
. We no longer need this.