-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Build Target Reorganization Part 2 #30570
Build Target Reorganization Part 2 #30570
Conversation
@@ -468,7 +474,6 @@ grpc_cc_library( | |||
"//conditions:default": GRPC_XDS_TARGETS, | |||
}, | |||
], | |||
standalone = True, |
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.
what does this change?
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.
Nothing.
I found the parameter is unused in both Github and google3.
https://github.com/grpc/grpc/blob/master/bazel/grpc_build_system.bzl#L145
https://source.corp.google.com/piper///depot/google3/third_party/grpc/bazel/grpc_build_system.bzl;l=657
Given that we are removing codegen related files, we need to clean up the build targets in the current build file. There will be a series of PRs for this.
The new build targets should roughly follow this dependency graph.
Detailed steps is the following.
gpr_base
is merged intogpr
. Thegpr
here itself is nothing but depending ongpr_base
. I don't think we need to separate them.grpc++_internals
andgrpc++_internal_hdrs_only
are merged intogrpc++
. The reason is similar.grpc++
does not contain much stuff butgrpc++_internals
.gpr_codegen
is merged togpr
since the files ingpr_codegen
should be removed in the future and be moved togpr
.grpc_codegen
is merged togrpc_base
with the similar reason as above.grpc++_codegen_base
andgrpc++_codegen_base_src
are merged togrpc++_base
with the similar reason as above.grpc_secure
is merged togrpc
sincegrpc
is by default secure. We do not need to separate them.grpc++_base_unsecure
is merged either intogrpc++_base
or intogrpc++_unsecure
.This PR merges
grpc_secure
andgrpc_codegen
togrpc
without removinggrpc_codegen
for temporary compatibility. It should be removed in the following PRs.