diff options
author | Zhaoqing Xu <zhaoqxu@google.com> | 2024-04-10 12:08:40 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-04-10 12:09:35 -0700 |
commit | 39aa253d56560a2ded5889847d5af5fff8dc08ee (patch) | |
tree | f6cbc0f00a60a4d045f0fe33be38abbfe0da46db | |
parent | d0f3b8983c4482e73a62b9a74a1767effd26c84f (diff) | |
download | bazelbuild-rules_android-39aa253d56560a2ded5889847d5af5fff8dc08ee.tar.gz |
Make JavaInfo a required provider that starlark rule android_binary provides. This aligns with the Native rule.
PiperOrigin-RevId: 623567258
Change-Id: I8b2be8df0987c607769301fffd57ce3a7b7283de
-rw-r--r-- | rules/android_binary.bzl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/android_binary.bzl b/rules/android_binary.bzl index afd2d71..441aacf 100644 --- a/rules/android_binary.bzl +++ b/rules/android_binary.bzl @@ -249,7 +249,7 @@ def make_rule(attrs = _ATTRS): return rule( attrs = attrs, implementation = _impl, - provides = [ApkInfo], + provides = [ApkInfo, JavaInfo], cfg = android_platforms_transition, outputs = _outputs, ) |