Reputation: 14052
I have an aspect like this:
def _foo_aspect_impl(target, aspect_ctx):
fail("KIND: {}, DATA_RUNFILES: {}".format(aspect_ctx.rule.kind, [p.path for p in target.data_runfiles.files]))
which fails with the error:
KIND: filegroup, DATA_RUNFILES: [<hugelistofsrcsfiles>]
What puzzles me is that I never declared data
files on this filegroup
. So I am wondering where these are coming from. I absolutely do not want them here.
Upvotes: 0
Views: 121
Reputation: 2370
As seen in the Filegroup code, the filegroups declare only one kind of runfile provider: data runfiles provider. I guess you might want to open a feature request on Github and have a proper discussion of what you want there.
Upvotes: 1