diff options
author | 2017-09-05 15:01:24 +0200 | |
---|---|---|
committer | 2017-09-06 10:05:17 +0200 | |
commit | 67e6ea0b2631e1612138e774fd59e74167102905 (patch) | |
tree | c3b88c70805649db26af0929a1b2571c5dfaf13a /src/main/protobuf | |
parent | 8254ea827b68dbd7d21582cbae22a51d4826b631 (diff) |
Switch to new builtin cc proto rules for protobuf.
We no longer need to use the custom rules.
Closes #3598.
Change-Id: Ib746cb06836fc9de9b66e7600644bb02291d0891
PiperOrigin-RevId: 167568605
Diffstat (limited to 'src/main/protobuf')
-rw-r--r-- | src/main/protobuf/BUILD | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/protobuf/BUILD b/src/main/protobuf/BUILD index 11d019c5fe..820e5244f4 100644 --- a/src/main/protobuf/BUILD +++ b/src/main/protobuf/BUILD @@ -2,7 +2,7 @@ package(default_visibility = ["//visibility:public"]) load("//tools/build_rules:genproto.bzl", "cc_grpc_library") load("//tools/build_rules:utilities.bzl", "java_library_srcs") -load("//third_party/protobuf/3.4.0:protobuf.bzl", "cc_proto_library", "py_proto_library") +load("//third_party/protobuf/3.4.0:protobuf.bzl", "py_proto_library") load("//third_party/grpc:build_defs.bzl", "java_grpc_library") FILES = [ @@ -62,10 +62,7 @@ java_library_srcs( cc_proto_library( name = "worker_protocol_cc_proto", - srcs = ["worker_protocol.proto"], - include = ".", - default_runtime = "//third_party/protobuf:protobuf", - protoc = "//third_party/protobuf:protoc", + deps = [":worker_protocol_proto"], ) java_grpc_library( |