aboutsummaryrefslogtreecommitdiff
path: root/protobuf.bzl
diff options
context:
space:
mode:
authorVladimir Moskva <vladmos@users.noreply.github.com>2016-09-09 13:21:35 +0200
committerGitHub <noreply@github.com>2016-09-09 13:21:35 +0200
commita86e6d8db22774855489892b65e3fd49a1277922 (patch)
treecc614bab6a83589806132bfde5a03426924e4b08 /protobuf.bzl
parent5d35e60900bf74e095dd98904d07f144dbd8d521 (diff)
downloadprotobuf-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.
Diffstat (limited to 'protobuf.bzl')
-rw-r--r--protobuf.bzl4
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,
),