blob: bebc0efaf26c0c9942bc2e0a55fa2f731fd9fdb5 [file] [log] [blame]
load("//tools/build/bazel:osgi_java_library.bzl", "wrapped_osgi_jar")
load("@io_grpc_grpc_java//:java_grpc_library.bzl", "java_grpc_library")
wrapped_osgi_jar(
name = "dummy_java_grpc",
jar = ":dummy_java_grpc_native",
deps = [
"@io_grpc_grpc_java//stub",
"@io_grpc_grpc_java//core",
"@io_grpc_grpc_java//protobuf"
],
visibility = ["//visibility:public"],
)
wrapped_osgi_jar(
name = "dummy_java_proto",
jar = ":dummy_java_proto_native",
deps = [
"@com_google_protobuf//:protobuf_java",
],
visibility = ["//visibility:public"],
)
java_proto_library(
name = "dummy_java_proto_native",
deps = [":dummy_proto"],
visibility = ["//visibility:public"],
)
java_grpc_library(
name = "dummy_java_grpc_native",
srcs = [":dummy_proto"],
deps = [":dummy_java_proto_native"],
)
proto_library(
name = "dummy_proto",
srcs = ["dummy.proto"],
)