grpc / grpc/grpc-java

Support --incompatible_enable_proto_toolchain_resolution

Open
#11,152 8 comments 5 reactions 0 assignees View on GitHub
enhancement help wanted Waiting on reporter
Dominant language
Java
Stars
12.1k
Forks
4k
Avg merge
2d 17h
Merged PRs (30d)
37

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](https://bazel.build/reference/command-line-reference?hl=en#flag--incompatible_enable_proto_toolchain_resolution) bazel flag so users can override protoc compiled from sources with prebuilt binary, as already done in [rules_python](https://github.com/bazelbuild/rules_python/pull/1577) or WIP in [rules_go](https://github.com/bazelbuild/rules_go/pull/3919)

### Describe alternatives you've considered

### Additional context

Examples of declarations toolchains for other languages that already support the feature [here](https://github.com/aspect-build/toolchains_protoc/blob/main/examples/lang_toolchains/BUILD)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.