Support --incompatible_enable_proto_toolchain_resolution
- Vorherrschende Sprache
- Java
- Sterne
- 12.1k
- Forks
- 4k
- Ø Merge
- 2 T. 17 Std.
- Gemergte PRs (30 T.)
- 37
Beschreibung
### 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)
Beitragsleitfaden
Rechercherichtung
Es werden keine Repository-Dateien oder Tests genannt. Beginne mit der Untersuchung der von java_grpc_library verwendeten Toolchain-Deklarationen und vergleiche sie anschließend mit der Implementierung von rules_python und den Beispielen in aspect-build/toolchains_protoc. Erledigt ist die Aufgabe, wenn --incompatible_enable_proto_toolchain_resolution unterstützt wird, sodass Benutzer das aus den Quellen kompilierte protoc durch eine vorkompilierte Binärdatei ersetzen können.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- build-system
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100