Skip to content

Commit

Permalink
Revert D69639800
Browse files Browse the repository at this point in the history
Summary:
This diff reverts D69639800
(The context such as a Sandcastle job, Task, SEV, etc. was not provided.)

Reviewed By: thevinster

Differential Revision: D69795179

fbshipit-source-id: 1232484936bc6395762dc9bebb1fc58e37eb172c
  • Loading branch information
generatedunixname89002005232357 authored and facebook-github-bot committed Feb 18, 2025
1 parent 108d489 commit d33f1b9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions prelude/android/apk_genrule.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def apk_genrule_impl(ctx: AnalysisContext) -> list[Provider]:
input_android_apk_under_test_info = None
input_unstripped_shared_libraries = None
input_android_apk_subtargets = None
input_android_aab_subtargets = None
if ctx.attrs.apk != None:
# TODO(T104150125) The underlying APK should not have exopackage enabled
input_android_apk_info = ctx.attrs.apk[AndroidApkInfo]
Expand All @@ -43,7 +42,6 @@ def apk_genrule_impl(ctx: AnalysisContext) -> list[Provider]:
input_apk = input_android_aab_info.aab
input_manifest = input_android_aab_info.manifest
input_materialized_artifacts = input_android_aab_info.materialized_artifacts
input_android_aab_subtargets = ctx.attrs.aab[DefaultInfo].sub_targets

env_vars = {
"AAB": cmd_args(input_apk),
Expand Down Expand Up @@ -98,7 +96,6 @@ def apk_genrule_impl(ctx: AnalysisContext) -> list[Provider]:
"aab": [DefaultInfo(
default_outputs = [genrule_default_output],
)],
"native_libs": [input_android_aab_subtargets["native_libs"][DefaultInfo]],
},
),
] + filter(lambda x: not isinstance(x, DefaultInfo), genrule_providers)
Expand Down

0 comments on commit d33f1b9

Please sign in to comment.