Fix src/test/shell/bazel/bazel_bootstrap_distfile_test.
We added a proto to third_party, and protos aren't compiled as per normal during bootstrapping. We add a pointer from our protobuf into third_party for pprof so
bootstrapping can work.
Verified that this fixes test by exporting a repo and running bazel test.
@@ -109,6 +109,12 @@ py_proto_library(
protoc = "//third_party/protobuf:protoc",
)
+java_library_srcs(
+ name = "profile_java_proto_srcs",
+ visibility = ["//visibility:private"],
+ deps = ["//third_party/pprof:profile_java_proto"],
+)
+
filegroup(
name = "srcs",
srcs = glob(["**"]),
@@ -120,5 +126,6 @@ filegroup(
":command_line_java_proto_srcs",
":command_server_java_grpc_srcs",
":option_filters_java_proto_srcs",
+ ":profile_java_proto_srcs",
],
)
