-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add grpc_rs for exporting internal APIs #50
base: rs-release
Are you sure you want to change the base?
Conversation
Signed-off-by: Neil Shen <[email protected]>
By following command tools/buildgen/generate_projects.sh \ --templates templates/CMakeLists.txt.template Signed-off-by: Neil Shen <[email protected]>
@@ -534,6 +534,25 @@ GRPCXX_PUBLIC_HDRS = [ | |||
"include/grpcpp/impl/codegen/sync.h", | |||
] | |||
|
|||
grpc_cc_library( |
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.
Why need a new library?
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.
So that code can be placed outside of src/core and let grpc
and grpc_unsecure
depends on it using its build system.
Anyway, what's your suggestion?
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.
Why not put the source in the source list just like CMakeLists.txt does?
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.
CMakeLists.txt is generated from BUILD, upstream may overwrite CMakeLists.txt if they add or remove a file.
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.
@BusyJay PTAL, thanks!
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.
I'm a bit confused. Now is CMakeLists.txt auto-generated? Note we always need to modify CMakeLists.txt as the generated one from upstream doesn't always compile.
As title.