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

[7.2.0] Apply repo mapping to cc_shared_library's exports_filter #22328

Merged
merged 1 commit into from May 11, 2024

Conversation

Wyverald
Copy link
Member

This is required for exports_filter to match any external repositories with Bzlmod enabled.

native.package_relative_label is used to convert the user-specified filter strings, which are always valid labels, to canonical label literals that are then passed to the actual cc_shared_library rule.

Fixes #21872

Closes #21622.

PiperOrigin-RevId: 632624776
Change-Id: I2f80563d8c434b2726f4facb0551b316b2cd2e1c

This is required for `exports_filter` to match any external repositories with Bzlmod enabled.

`native.package_relative_label` is used to convert the user-specified filter strings, which are always valid labels, to canonical label literals that are then passed to the actual `cc_shared_library` rule.

Fixes #21872

Closes #21622.

PiperOrigin-RevId: 632624776
Change-Id: I2f80563d8c434b2726f4facb0551b316b2cd2e1c
@Wyverald Wyverald requested a review from a team as a code owner May 11, 2024 00:19
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label May 11, 2024
@keertk keertk self-requested a review May 11, 2024 00:22
@keertk keertk enabled auto-merge May 11, 2024 00:22
@keertk keertk added this pull request to the merge queue May 11, 2024
Merged via the queue into release-7.2.0 with commit b090599 May 11, 2024
35 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label May 11, 2024
@Wyverald Wyverald deleted the wyv-720-82d6cf2 branch May 13, 2024 19:58
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.

None yet

3 participants