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

Allow library tool resource handling to be disabled #928

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

luispadron
Copy link
Collaborator

@luispadron luispadron commented Nov 19, 2024

This allows the wrap resource in filegroups and resource bundle generators to be disabled completely. It allows users to just pass in data and have the rule just forward that to the underlying libraries.

This cleans up the code a bit too since we use data directly instead of module_data which had to be converted into a list in a few places.

I added a test showcasing where this ability would be required. It fails without this change and passes when disabling the library tools

@luispadron luispadron force-pushed the luis/allow-not-wrapping-resources-in-filegroup branch 2 times, most recently from bfb48cf to 7ddd02c Compare November 19, 2024 04:19
@luispadron luispadron marked this pull request as ready for review November 19, 2024 16:46
@luispadron luispadron force-pushed the luis/allow-not-wrapping-resources-in-filegroup branch from 7ddd02c to cc69e9b Compare November 19, 2024 16:47
rules/library.bzl Outdated Show resolved Hide resolved
@luispadron luispadron force-pushed the luis/allow-not-wrapping-resources-in-filegroup branch from cc69e9b to f5a18b3 Compare November 19, 2024 19:19
@luispadron luispadron requested a review from congt November 19, 2024 19:19
@luispadron luispadron enabled auto-merge (squash) November 19, 2024 19:19
@luispadron luispadron merged commit c148e6a into master Nov 19, 2024
23 checks passed
@luispadron luispadron deleted the luis/allow-not-wrapping-resources-in-filegroup branch November 19, 2024 23:21
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.

3 participants