Added comment about commented-out code.

pull/13171/head
Joshua Haberman 3 years ago
parent 1938d1f6ac
commit a07ac3fafc
  1. 8
      bazel/py_proto_library.bzl

@ -69,9 +69,11 @@ def _generate_output_file(ctx, src, extension):
# py_proto_library() ###########################################################
def _py_proto_library_rule_impl(ctx):
#if len(ctx.attr.deps) != 1:
# fail("only one deps dependency allowed.")
#dep = ctx.attr.deps[0]
# A real py_proto_library() should enforce this constraint.
# We don't bother for now, since it saves us some effort not to.
#
# if len(ctx.attr.deps) != 1:
# fail("only one deps dependency allowed.")
files = []
for dep in ctx.attr.deps:

Loading…
Cancel
Save