Skip to content

Commit

Permalink
Customize exec_group on proto_library
Browse files Browse the repository at this point in the history
To support legacy code.

PiperOrigin-RevId: 508323701
Change-Id: Icbdb9914aa17c967002960cfffe80aa8f56d2c96
  • Loading branch information
comius authored and copybara-github committed Feb 9, 2023
1 parent cde4b7b commit 754216b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,4 +296,5 @@ proto_library = rule(
fragments = ["proto"] + semantics.EXTRA_FRAGMENTS,
provides = [ProtoInfo],
output_to_genfiles = True, # TODO(b/204266604) move to bin dir
exec_groups = semantics.EXEC_GROUPS,
)
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ semantics = struct(
"--direct_dependencies_violation_msg=" +
"%%s is imported, but %s doesn't directly depend on a proto_library that 'srcs' it."
),
EXEC_GROUPS = {},
)

0 comments on commit 754216b

Please sign in to comment.