Skip to content

Commit 1d6ebeb

Browse files
kotlajacopybara-github
authored andcommitted
Remove allow_files from proto_lang_toolchain's attributes
It's the same behaviour in native code. PiperOrigin-RevId: 446988764
1 parent 0b914c6 commit 1d6ebeb

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/main/starlark/builtins_bzl/common/proto/proto_lang_toolchain.bzl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,9 @@ proto_lang_toolchain_attrs = {
6262
"plugin": attr.label(
6363
executable = True,
6464
cfg = "exec",
65-
allow_files = True,
66-
),
67-
"runtime": attr.label(
68-
allow_files = True,
6965
),
66+
"runtime": attr.label(),
7067
"blacklisted_protos": attr.label_list(
71-
allow_files = True,
7268
providers = [ProtoInfo],
7369
),
7470
}
@@ -81,7 +77,6 @@ proto_lang_toolchain_custom_protoc = rule(
8177
"proto_compiler": attr.label(
8278
cfg = "exec",
8379
executable = True,
84-
allow_files = True,
8580
),
8681
},
8782
),

0 commit comments

Comments
 (0)