Skip to content

Commit

Permalink
Align android_binary mobile-install adapter more with internal impl
Browse files Browse the repository at this point in the history
Part of #12

PiperOrigin-RevId: 559871080
Change-Id: I3af1904105473db13cff875ef380698e6dcf4c53
  • Loading branch information
ted-xie authored and copybara-github committed Aug 24, 2023
1 parent 39e0db6 commit 4c8305b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mobile_install/adapters/android_binary.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def extract(target, ctx):
Returns:
Input for process method
"""
extension_registry_class_jar = utils.get_extension_registry_class_jar(target)
return dict(
debug_key = utils.only(ctx.rule.files.debug_key, allow_empty = True),
debug_signing_keys = ctx.rule.files.debug_signing_keys,
Expand Down Expand Up @@ -81,6 +82,9 @@ def extract(target, ctx):
target[JavaInfo].runtime_output_jars,
) +
(
[
extension_registry_class_jar,
] if extension_registry_class_jar else []
),
target[JavaInfo].transitive_compile_time_jars,
),
Expand Down

0 comments on commit 4c8305b

Please sign in to comment.