Skip to content

Commit

Permalink
Fix break in kt_android_local_test() rewrite from Lyft
Browse files Browse the repository at this point in the history
Fix diff
  • Loading branch information
oliviernotteghem committed Aug 13, 2024
1 parent f8c6575 commit bbae7d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kotlin/internal/jvm/kt_android_local_test_impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ def _process_jvm(ctx, resources_ctx, **unused_sub_ctxs):
ctx,
toolchains = _compile.compiler_toolchains(ctx),
deps = (
_utils.collect_providers(JavaInfo, deps) +
([resources_ctx.r_java] if resources_ctx.r_java else []) +
[
JavaInfo(
output_jar = _get_android_sdk(ctx).android_jar,
Expand All @@ -140,7 +138,9 @@ def _process_jvm(ctx, resources_ctx, **unused_sub_ctxs):
# will bloat the Jar with no benefit.
neverlink = True,
),
]
] +
([resources_ctx.r_java] if resources_ctx.r_java else []) +
_utils.collect_providers(JavaInfo, deps)
),
associates = [_compile.java_info(d) for d in getattr(ctx.attr, "associates", [])],
runtime_deps = [_compile.java_info(d) for d in getattr(ctx.attr, "runtime_deps", [])],
Expand Down

0 comments on commit bbae7d3

Please sign in to comment.