From a86e6d8db22774855489892b65e3fd49a1277922 Mon Sep 17 00:00:00 2001 From: Vladimir Moskva Date: Fri, 9 Sep 2016 13:21:35 +0200 Subject: [PATCH] Compatibility with the new version of Bazel. Global variable HOST_CFG is deprecated and will not be supported soon. --- protobuf.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protobuf.bzl b/protobuf.bzl index c5555fde87..0e8c2e234c 100644 --- a/protobuf.bzl +++ b/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, ),