summaryrefslogtreecommitdiff
path: root/apex/apex.go
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2023-08-23 13:12:50 +0900
committer Jooyung Han <jooyung@google.com> 2023-08-23 14:01:17 +0900
commita0503a51a0b255a28f9f3c96203e0cf147db2672 (patch)
tree743c6ba2f1729488528aab807bd3f86a91f3bd92 /apex/apex.go
parent06a8a1c38456a0037e75b945faf8f0019efa0d54 (diff)
apex: Remove apexPackagingMutator
Bug: 279835185 Test: m Change-Id: I2f5293a5a86d2ea66c1107659abc2e746fe2775e
Diffstat (limited to 'apex/apex.go')
-rw-r--r--apex/apex.go15
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