Require ProtoInfo in attributes, not "proto"

pull/19420/head
Marcel Hlopko 6 years ago
parent 49f0fb9035
commit ecf04ccf4d
  1. 2
      bazel/generate_cc.bzl
  2. 2
      bazel/python_rules.bzl

@ -146,7 +146,7 @@ _generate_cc = rule(
"srcs": attr.label_list(
mandatory = True,
allow_empty = False,
providers = ["proto"],
providers = [ProtoInfo],
),
"plugin": attr.label(
executable = True,

@ -99,7 +99,7 @@ __generate_py = rule(
"deps": attr.label_list(
mandatory = True,
allow_empty = False,
providers = ["proto"],
providers = [ProtoInfo],
),
"plugin": attr.label(
executable = True,

Loading…
Cancel
Save