浏览代码

Merge pull request #2761 from cgrushko/patch-4

Update protobuf.bzl for recent versions of Bazel
Feng Xiao 8 年之前
父节点
当前提交
8f2d5f07aa
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      protobuf.bzl

+ 2 - 2
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,
         ),