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

Support additional rule providers in make_rule #95

Conversation

Bencodes
Copy link
Contributor

Adding support for additional providers when calling make_rule so that we can extend android_library rule inside of rules_kotlin to also provide KtJvmInfo

@@ -29,22 +29,24 @@ def make_rule(
attrs = ATTRS,
implementation = impl,
provides = _DEFAULT_PROVIDES,
additional_toolchains = []):
additional_toolchains = [],
additional_providers = []):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having the additional providers here is technically not needed. Happy to revert if it only makes sense supporting this at the android_library level for now.

@Bencodes Bencodes changed the title support-additional_providers-in-make_rule Support additional rule providers in make_rule Jun 21, 2023
@Bencodes Bencodes force-pushed the support-additional_providers-in-make_rule branch from 39e7010 to 40434d4 Compare September 29, 2023 17:35
@ahumesky ahumesky self-requested a review September 29, 2023 19:49
@Bencodes Bencodes force-pushed the support-additional_providers-in-make_rule branch from f579cb1 to 15e9507 Compare September 29, 2023 20:34
@copybara-service copybara-service bot merged commit 0f1d00c into bazelbuild:main Sep 30, 2023
1 check passed
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