Compatibility with the new version of Bazel.

Global variable HOST_CFG is deprecated and will not be supported soon.
pull/2100/head
Vladimir Moskva 8 years ago committed by GitHub
parent 5d35e60900
commit a86e6d8db2
  1. 4
      protobuf.bzl

@ -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,
),

Loading…
Cancel
Save