Skip to content
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 semi-circular dependency between core and util (1.62.x backport) #10926

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Feb 16, 2024

Add the 'fake' dependency to grpc-netty instead of grpc-core. grpc-okhttp already depends on grpc-util and probably would be fine without round_robin on Android.

There's not actually a circular dependency, but some tools can't handle the compile vs runtime distinction. Such tools are broken, but fixes have been slow and this approach works with no real downfalls.

Works around #10576 #10701

Backport of #10919

Add the 'fake' dependency to grpc-netty instead of grpc-core.
grpc-okhttp already depends on grpc-util and probably would be fine
without round_robin on Android.

There's not actually a circular dependency, but some tools can't handle
the compile vs runtime distinction. Such tools are broken, but fixes
have been slow and this approach works with no real downfalls.

Works around grpc#10576 grpc#10701
@ejona86 ejona86 merged commit 1795348 into grpc:v1.62.x Feb 16, 2024
13 of 14 checks passed
@ejona86 ejona86 deleted the backport-util-no-cycle-1.62 branch February 16, 2024 21:46
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants