From d57f2719b20bd2d929b23413196c70d930ae40f6 Mon Sep 17 00:00:00 2001 From: Sergii Tkachenko Date: Thu, 20 Jun 2024 15:40:52 -0700 Subject: [PATCH] services: restore //services:binarylog bazel target (#11292) The target was wrongly deleted in 75492c8 / #10832. See details in https://github.com/grpc/grpc-java/issues/4017#issuecomment-2159516522. --- services/BUILD.bazel | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/services/BUILD.bazel b/services/BUILD.bazel index fc4c94b1765..d0194de9b42 100644 --- a/services/BUILD.bazel +++ b/services/BUILD.bazel @@ -10,6 +10,7 @@ java_library( name = "services_maven", exports = [ ":admin", + ":binarylog", ":channelz", ":health", ":healthlb", @@ -62,6 +63,28 @@ java_library( ], ) +java_library( + name = "binarylog", + srcs = [ + "src/main/java/io/grpc/protobuf/services/BinaryLogProvider.java", + "src/main/java/io/grpc/protobuf/services/BinaryLogProviderImpl.java", + "src/main/java/io/grpc/protobuf/services/BinaryLogSink.java", + "src/main/java/io/grpc/protobuf/services/BinaryLogs.java", + "src/main/java/io/grpc/protobuf/services/BinlogHelper.java", + "src/main/java/io/grpc/protobuf/services/InetAddressUtil.java", + "src/main/java/io/grpc/protobuf/services/TempFileSink.java", + ], + deps = [ + "//api", + "//context", + "@com_google_protobuf//:protobuf_java", + "@com_google_protobuf//:protobuf_java_util", + "@io_grpc_grpc_proto//:binarylog_java_proto", + artifact("com.google.code.findbugs:jsr305"), + artifact("com.google.guava:guava"), + ], +) + java_library( name = "channelz", srcs = [