From eef16ef276bd1a421bddd1c45f3dfbde52070aec Mon Sep 17 00:00:00 2001 From: Googler Date: Mon, 18 Sep 2023 12:29:12 -0700 Subject: [PATCH] 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 --- cc/proto/BUILD | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 cc/proto/BUILD diff --git a/cc/proto/BUILD b/cc/proto/BUILD new file mode 100644 index 0000000..3be6187 --- /dev/null +++ b/cc/proto/BUILD @@ -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")