From 8d92ae8bd47239f8636fa886d92ee3d1684ae52f Mon Sep 17 00:00:00 2001 From: cgrushko Date: Sat, 25 Feb 2017 16:44:38 -0500 Subject: Update protobuf.bzl for recent versions of Bazel HOST_CFG has been deprecated in favor of "host". --- protobuf.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protobuf.bzl b/protobuf.bzl index c5555fde..0e8c2e23 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, ), -- cgit v1.2.3