grpc/grpc-java

Support --incompatible_enable_proto_toolchain_resolution

Open

#11,152 opened on May 6, 2024

View on GitHub
 (8 comments) (4 reactions) (0 assignees)Java (11,124 stars) (3,742 forks)batch import
Waiting on reporterenhancementhelp wanted

Description

Is your feature request related to a problem?

The problem is need to compile protoc instead of using prebuilt binary while building java_grpc_library

Describe the solution you'd like

Support --incompatible_enable_proto_toolchain_resolution bazel flag so users can override protoc compiled from sources with prebuilt binary, as already done in rules_python or WIP in rules_go

Describe alternatives you've considered

Additional context

Examples of declarations toolchains for other languages that already support the feature here

Contributor guide