Browse Source

Merge pull request #2100 from vladmos/patch-1

Compatibility with the new version of Bazel.
Feng Xiao 9 years ago
parent
commit
4f032cd9af
1 changed files with 2 additions and 2 deletions
  1. 2 2
      protobuf.bzl

+ 2 - 2
protobuf.bzl

@@ -99,13 +99,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,
         ),
         "plugin": attr.label(
-            cfg = HOST_CFG,
+            cfg = "host",
             allow_files = True,
             executable = True,
         ),