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( "srcs": attr.label_list(
mandatory = True, mandatory = True,
allow_empty = False, allow_empty = False,
providers = ["proto"], providers = [ProtoInfo],
), ),
"plugin": attr.label( "plugin": attr.label(
executable = True, executable = True,

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

Loading…
Cancel
Save