Skip to content

Commit

Permalink
Add licenses attribute to Starlark proto_library.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 407306225
  • Loading branch information
comius authored and copybara-github committed Nov 3, 2021
1 parent f42fa61 commit 93d71d4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ proto_library = rule(
allow_files = True,
flags = ["SKIP_CONSTRAINTS_OVERRIDE"],
),
"licenses": attr.license() if hasattr(attr, "license") else attr.string_list(),
"_proto_compiler": attr.label(
cfg = "exec",
executable = True,
Expand Down

0 comments on commit 93d71d4

Please sign in to comment.