diff options
Diffstat (limited to 'apex/apex.go')
-rw-r--r-- | apex/apex.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/apex/apex.go b/apex/apex.go index 44a85b8ae..e35805f6b 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -79,7 +79,6 @@ func RegisterPostDepsMutators(ctx android.RegisterMutatorsContext) { ctx.BottomUp("mark_platform_availability", markPlatformAvailability).Parallel() ctx.BottomUp("apex", apexMutator).Parallel() ctx.BottomUp("apex_directly_in_any", apexDirectlyInAnyMutator).Parallel() - ctx.BottomUp("apex_packaging", apexPackagingMutator).Parallel() ctx.BottomUp("apex_dcla_deps", apexDCLADepsMutator).Parallel() // Register after apex_info mutator so that it can use ApexVariationName ctx.TopDown("apex_strict_updatability_lint", apexStrictUpdatibilityLintMutator).Parallel() @@ -1348,20 +1347,6 @@ const ( erofsFsType = "erofs" ) -// apexPackagingMutator creates one or more variations each of which is for a packaging method. -func apexPackagingMutator(mctx android.BottomUpMutatorContext) { - if !mctx.Module().Enabled() { - return - } - if _, ok := mctx.Module().(*apexBundle); ok { - mctx.CreateLocalVariations(imageApexType) - } else if _, ok := mctx.Module().(*OverrideApex); ok { - // payload_type is forcibly overridden to "image" - // TODO(jiyong): is this the right decision? - mctx.CreateVariations(imageApexType) - } -} - var _ android.DepIsInSameApex = (*apexBundle)(nil) // Implements android.DepInInSameApex |