Expose Worker protocol buffer to C++ so we can implement persistent actions in C++.
Protocol was already exposed for Python and Java, only make C++ a first class citizen.
MOS_MIGRATED_REVID=144300665
package(default_visibility = ["//visibility:public"])
load("//tools/build_rules:genproto.bzl", "java_proto_library", "cc_grpc_library")
-load("//third_party/protobuf/3.0.0:protobuf.bzl", "py_proto_library")
+load("//third_party/protobuf/3.0.0:protobuf.bzl", "cc_proto_library", "py_proto_library")
FILES = [
"build",
@@ -27,6 +27,14 @@ FILES = [
src = s + ".proto",
) for s in FILES]
+cc_proto_library(
+ name = "worker_protocol_cc_proto",
+ srcs = ["worker_protocol.proto"],
+ include = ".",
+ default_runtime = "//third_party/protobuf:protobuf_clib",
+ protoc = "//third_party/protobuf:protoc",
+)
+
java_proto_library(
name = "command_server_java_proto",
src = "command_server.proto",
