Skip to content

Commit

Permalink
Migrate AndroidDexInfo to Starlark.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 666103915
Change-Id: I87db91eb4124abef7bd1d046af2f68f64924e895
  • Loading branch information
ahumesky authored and copybara-github committed Aug 22, 2024
1 parent 15c0e9c commit f1d7b73
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 11 additions & 1 deletion rules/providers.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,17 @@ AndroidCcLinkParamsInfo = provider(
),
)

AndroidDexInfo = provider(
doc = "AndroidDexInfo",
fields = dict(
deploy_jar = "The deploy jar.",
filtered_deploy_jar = "The filtered deploy jar.",
final_classes_dex_zip = "The zip file containing the final dex classes.",
final_proguard_output_map = "The final proguard output map.",
java_resource_jar = "The final Java resource jar.",
),
)

AndroidPreDexJarInfo = provider(
doc = "AndroidPreDexJarInfo",
fields = dict(
Expand Down Expand Up @@ -258,5 +269,4 @@ AndroidIdeInfo = providers.AndroidIdeInfo
DataBindingV2Info = providers.DataBindingV2Info
AndroidFeatureFlagSet = providers.AndroidFeatureFlagSet # buildifier: disable=name-conventions
BaselineProfileProvider = providers.BaselineProfileProvider # buildifier: disable=name-conventions
AndroidDexInfo = providers.AndroidDexInfo
AndroidOptimizationInfo = providers.AndroidOptimizationInfo
1 change: 0 additions & 1 deletion rules/reexport_providers.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ providers = struct(
DataBindingV2Info = DataBindingV2Info,
AndroidFeatureFlagSet = AndroidFeatureFlagSet,
BaselineProfileProvider = BaselineProfileProvider,
AndroidDexInfo = AndroidDexInfo,
AndroidOptimizationInfo = AndroidOptimizationInfo,
)

0 comments on commit f1d7b73

Please sign in to comment.