Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] plumb transitive packages to RuleContext #16278

Closed
wants to merge 1 commit into from

Conversation

Wyverald
Copy link
Member

No description provided.

PiperOrigin-RevId: 474351659
Change-Id: I7158c8adacc0b1db7f7bdda3b621d49c1fdb491c
@Wyverald Wyverald deleted the wyv-draft-rulecontext branch September 16, 2022 11:21
aiuto pushed a commit to aiuto/bazel that referenced this pull request Oct 12, 2022
To fix bazelbuild#16124, we need to collect all the repos/repo mappings relevant for a runfiles directory and write that into a manifest. One way to do that is to utilize the existing `transitivePackagesForPackageRootResolution` thing that we collect in most cases.

This CL plumbs this information through to RuleContext (whereafter it can be used by RunfilesSupport to write a manifest), without any logic changes. The field `transitivePackagesForPackageRootResolution` is renamed to simply `transitivePackages` since it's now used for multiple purposes.

Closes bazelbuild#16278.

PiperOrigin-RevId: 474778287
Change-Id: I7158c8adacc0b1db7f7bdda3b621d49c1fdb491c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants