Update protobuf.bzl for recent versions of Bazel

HOST_CFG has been deprecated in favor of "host".
This commit is contained in:
cgrushko 2017-02-25 16:44:38 -05:00 committed by GitHub
parent 82809aaebf
commit 8d92ae8bd4

View file

@ -88,13 +88,13 @@ _proto_gen = rule(
"deps": attr.label_list(providers = ["proto"]),
"includes": attr.string_list(),
"protoc": attr.label(
cfg = HOST_CFG,
cfg = "host",
executable = True,
single_file = True,
mandatory = True,
),
"grpc_cpp_plugin": attr.label(
cfg = HOST_CFG,
cfg = "host",
executable = True,
single_file = True,
),