Add stub gRPC C++ client and Java server.
The code doesn't do anything yet and it's unused code for now. This change only serves to add all the necessary dependencies to BUILD files that gRPC needs.
--
MOS_MIGRATED_REVID=119628697
diff --git a/src/main/protobuf/BUILD b/src/main/protobuf/BUILD
index a569b33..663b598 100644
--- a/src/main/protobuf/BUILD
+++ b/src/main/protobuf/BUILD
@@ -1,6 +1,6 @@
package(default_visibility = ["//visibility:public"])
-load("//tools/build_rules:genproto.bzl", "java_proto_library")
+load("//tools/build_rules:genproto.bzl", "java_proto_library", "cc_grpc_library")
load("//third_party/protobuf:protobuf.bzl", "py_proto_library")
FILES = [
@@ -27,6 +27,17 @@
src = s + ".proto",
) for s in FILES]
+java_proto_library(
+ name = "command_server_java_proto",
+ src = "command_server.proto",
+ use_grpc_plugin = True,
+)
+
+cc_grpc_library(
+ name = "command_server_cc_proto",
+ src = "command_server.proto",
+)
+
py_proto_library(
name = "build_pb_py",
srcs = ["build.proto"],