Create toolchain types for proto_library and lang_proto_library

BEGIN_PUBLIC
Create toolchain types for proto_library and lang_proto_library

This handles only lang_proto_libraries defined in Bazel: Java, Java lite, Python, C++.

Design doc: https://docs.google.com/document/d/1CE6wJHNfKbUPBr7-mmk_0Yo3a4TaqcTPE0OWNuQkhPs/edit#heading=h.5mcn15i0e1ch
Issue: https://github.com/bazelbuild/rules_proto/issues/179
END_PUBLIC
PiperOrigin-RevId: 566380737
Change-Id: I49b132f861bc7a871d98bbd333271d540faaf737
This commit is contained in:
Googler 2023-09-18 12:29:12 -07:00 committed by Copybara-Service
parent fc88354c6f
commit eef16ef276
1 changed files with 4 additions and 0 deletions

4
cc/proto/BUILD Normal file
View File

@ -0,0 +1,4 @@
package(default_visibility = ["//visibility:public"])
# Toolchain type provided by proto_lang_toolchain rule and used by cc_proto_library
toolchain_type(name = "toolchain_type")