소스 검색

Merge pull request #2100 from vladmos/patch-1

Compatibility with the new version of Bazel.
Feng Xiao 9 년 전
부모
커밋
4f032cd9af
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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,
         ),