diff options
author | Feng Xiao <xiaofeng@google.com> | 2016-09-12 10:02:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-12 10:02:39 -0700 |
commit | 4f032cd9affcff0747f5987dfdc0a04deee7a46b (patch) | |
tree | 9c81dc1b42ff70b80bb7cab553570b9507ef4b7f | |
parent | 22e7fa6aefb93b5e2b7e756010a4bea124eff7be (diff) | |
parent | 5caf516976f4c3a9cc7b5191404cf04c7998627f (diff) | |
download | protobuf-4f032cd9affcff0747f5987dfdc0a04deee7a46b.tar.gz protobuf-4f032cd9affcff0747f5987dfdc0a04deee7a46b.tar.bz2 protobuf-4f032cd9affcff0747f5987dfdc0a04deee7a46b.zip |
Merge pull request #2100 from vladmos/patch-1
Compatibility with the new version of Bazel.
-rw-r--r-- | protobuf.bzl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protobuf.bzl b/protobuf.bzl index 0b8f5e7d..e356f53c 100644 --- a/protobuf.bzl +++ b/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, ), |