diff options
author | cgrushko <carmi.grushko@gmail.com> | 2017-02-25 16:44:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-25 16:44:38 -0500 |
commit | 8d92ae8bd47239f8636fa886d92ee3d1684ae52f (patch) | |
tree | 5789d6abdb771627fbebe125c4731c8d8c9c095f | |
parent | 82809aaebf24fca3c2d5611149c78a3625bd3b70 (diff) | |
download | protobuf-8d92ae8bd47239f8636fa886d92ee3d1684ae52f.tar.gz protobuf-8d92ae8bd47239f8636fa886d92ee3d1684ae52f.tar.bz2 protobuf-8d92ae8bd47239f8636fa886d92ee3d1684ae52f.zip |
Update protobuf.bzl for recent versions of Bazel
HOST_CFG has been deprecated in favor of "host".
-rw-r--r-- | protobuf.bzl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protobuf.bzl b/protobuf.bzl index c5555fde..0e8c2e23 100644 --- a/protobuf.bzl +++ b/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, ), |