diff options
author | Vladimir Moskva <vladmos@users.noreply.github.com> | 2016-09-09 13:21:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-09 13:21:35 +0200 |
commit | a86e6d8db22774855489892b65e3fd49a1277922 (patch) | |
tree | cc614bab6a83589806132bfde5a03426924e4b08 | |
parent | 5d35e60900bf74e095dd98904d07f144dbd8d521 (diff) | |
download | protobuf-a86e6d8db22774855489892b65e3fd49a1277922.tar.gz protobuf-a86e6d8db22774855489892b65e3fd49a1277922.tar.bz2 protobuf-a86e6d8db22774855489892b65e3fd49a1277922.zip |
Compatibility with the new version of Bazel.
Global variable HOST_CFG is deprecated and will not be supported soon.
-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, ), |