Browse Source

Merge pull request #2761 from cgrushko/patch-4

Update protobuf.bzl for recent versions of Bazel
Feng Xiao 8 years ago
parent
commit
8f2d5f07aa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      protobuf.bzl

+ 2 - 2
protobuf.bzl

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