diff options
author | 2017-10-13 20:21:36 +0200 | |
---|---|---|
committer | 2017-10-16 17:48:37 +0200 | |
commit | dff2a488255a6db5c6378b524bbab8df235b119c (patch) | |
tree | a547578f4a63d44e9d6e0fd02fb79b00b88ba2b4 /src/main/protobuf | |
parent | 94836f6ded41a975ff2ac8cf756b4c86fb493431 (diff) |
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.
PiperOrigin-RevId: 172122010
Diffstat (limited to 'src/main/protobuf')
-rw-r--r-- | src/main/protobuf/BUILD | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/protobuf/BUILD b/src/main/protobuf/BUILD index ca2ba0c1af..6c9cb92c50 100644 --- a/src/main/protobuf/BUILD +++ b/src/main/protobuf/BUILD @@ -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", ], ) |