From 941450612519472f20341cc484f09c7b226f4167 Mon Sep 17 00:00:00 2001 From: Cameron Martin Date: Thu, 11 Apr 2024 01:07:35 -0700 Subject: [PATCH] Expose build event stream and starlark debugging protos This makes the build event stream and starlark debugging proto libraries public. This is for consumption by the vscode-bazel plugin, which already uses these but in a very hacky way. Fixes #16335 Fixes #3684 Closes #21196. PiperOrigin-RevId: 623740758 Change-Id: Ic47d6dd05fcf2af8beec4d9212d4c7fd65bcda44 --- .../com/google/devtools/build/lib/buildeventstream/proto/BUILD | 1 + .../java/com/google/devtools/build/lib/starlarkdebug/proto/BUILD | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/BUILD b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/BUILD index abe0749126e033..6642c07b051ac5 100644 --- a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/BUILD +++ b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/BUILD @@ -25,6 +25,7 @@ java_proto_library( proto_library( name = "build_event_stream_proto", srcs = ["build_event_stream.proto"], + visibility = ["//visibility:public"], deps = [ "//src/main/java/com/google/devtools/build/lib/packages/metrics:package_load_metrics_proto", "//src/main/protobuf:action_cache_proto", diff --git a/src/main/java/com/google/devtools/build/lib/starlarkdebug/proto/BUILD b/src/main/java/com/google/devtools/build/lib/starlarkdebug/proto/BUILD index 3c6c444ba3c3d0..976a6cb2297f84 100644 --- a/src/main/java/com/google/devtools/build/lib/starlarkdebug/proto/BUILD +++ b/src/main/java/com/google/devtools/build/lib/starlarkdebug/proto/BUILD @@ -26,4 +26,5 @@ java_proto_library( proto_library( name = "starlark_debugging_proto", srcs = ["starlark_debugging.proto"], + visibility = ["//visibility:public"], )