aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2017-02-28 15:21:33 -0800
committerGitHub <noreply@github.com>2017-02-28 15:21:33 -0800
commit8f2d5f07aa33294f9621a4c16ec744a1fcdd13e6 (patch)
tree5789d6abdb771627fbebe125c4731c8d8c9c095f
parent82809aaebf24fca3c2d5611149c78a3625bd3b70 (diff)
parent8d92ae8bd47239f8636fa886d92ee3d1684ae52f (diff)
downloadprotobuf-8f2d5f07aa33294f9621a4c16ec744a1fcdd13e6.tar.gz
protobuf-8f2d5f07aa33294f9621a4c16ec744a1fcdd13e6.tar.bz2
protobuf-8f2d5f07aa33294f9621a4c16ec744a1fcdd13e6.zip
Merge pull request #2761 from cgrushko/patch-4
Update protobuf.bzl for recent versions of Bazel
-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,
),