aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Judd <james@lucidchart.com>2018-08-14 21:55:35 -0600
committerJames Judd <james@lucidchart.com>2018-08-14 21:55:35 -0600
commitd5f0dac497f833d06f92d246431f4f2f42509e04 (patch)
treee4c98b87ca3c7f6fe82810f1b51a0986d3779519
parentab09b2a2e203b204e11ac64750e62b3f1da7dc6e (diff)
downloadprotobuf-d5f0dac497f833d06f92d246431f4f2f42509e04.tar.gz
protobuf-d5f0dac497f833d06f92d246431f4f2f42509e04.tar.bz2
protobuf-d5f0dac497f833d06f92d246431f4f2f42509e04.zip
Change deprecated Bazel single file attr param
This removes the need for --incompatible_disable_deprecated_attr_params when using Protobuf
-rw-r--r--protobuf.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/protobuf.bzl b/protobuf.bzl
index 67d61d7b..ae391aa6 100644
--- a/protobuf.bzl
+++ b/protobuf.bzl
@@ -178,7 +178,7 @@ proto_gen = rule(
"protoc": attr.label(
cfg = "host",
executable = True,
- single_file = True,
+ allow_single_file = True,
mandatory = True,
),
"plugin": attr.label(