Implement OSGI wrappers for proto jar files
Change-Id: Ic30d162093c383edc4abf5e9e9b96df669d804c8
diff --git a/tools/build/bazel/google_RPC_BUILD b/tools/build/bazel/google_RPC_BUILD
index 698693b..76de8fd 100644
--- a/tools/build/bazel/google_RPC_BUILD
+++ b/tools/build/bazel/google_RPC_BUILD
@@ -1,17 +1,17 @@
package(default_visibility = ["//visibility:public"])
proto_library(
- name = "status_proto",
- srcs = [ "//:google/rpc/status.proto" ],
+ name = "rpc_proto",
+ srcs = [ "//:google/rpc/code.proto", "//:google/rpc/status.proto" ],
deps = [
"@com_google_protobuf//:any_proto",
],
)
-proto_library(
- name = "code_proto",
- srcs = [ "//:google/rpc/code.proto" ],
- deps = [
- "@com_google_protobuf//:any_proto",
- ],
+java_proto_library(
+ name = "rpc_java_proto",
+ visibility = ["//visibility:public"],
+ deps = [":rpc_proto"],
)
+
+