Skip to content

Commit

Permalink
Create toolchain types for proto_library and lang_proto_library
Browse files Browse the repository at this point in the history
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: bazelbuild/rules_proto#179
END_PUBLIC
PiperOrigin-RevId: 566380737
Change-Id: I71dd30ed45c0f1d727600989ed1e50e9e5d70411
  • Loading branch information
comius authored and copybara-github committed Sep 18, 2023
1 parent 325a9e1 commit 9d9be9d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions java/proto/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package(default_visibility = ["//visibility:public"])

# Toolchain type provided by proto_lang_toolchain rule and used by java_proto_library
toolchain_type(name = "toolchain_type")

# Toolchain type provided by proto_lang_toolchain rule and used by java_lite_proto_library
toolchain_type(name = "lite_toolchain_type")

0 comments on commit 9d9be9d

Please sign in to comment.