From 7ec5936c692800604f0f31f83d70834b03682e43 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Mon, 20 Nov 2023 13:27:08 -0800 Subject: [PATCH] Add pdk protobuf targets. Signed-off-by: Tim 'mithro' Ansell --- pdk/proto/BUILD | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pdk/proto/BUILD b/pdk/proto/BUILD index 3adcaaad..e30f7ba7 100644 --- a/pdk/proto/BUILD +++ b/pdk/proto/BUILD @@ -12,12 +12,29 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_python//python:proto.bzl", "py_proto_library") + package( default_applicable_licenses = ["//:package_license"], - default_visibility = ["//visibility:private"], + default_visibility = ["//visibility:public"], ) exports_files([ "build_defs.bzl", "pdk_info.proto", ]) + +proto_library( + name = "pdk_info_proto", + srcs = ["pdk_info.proto"], +) + +cc_proto_library( + name = "pdk_info_cc_proto", + deps = [":pdk_info_proto"], +) + +py_proto_library( + name = "pdk_info_py_proto", + deps = [":pdk_info_proto"], +)