From f6978173131245bac18297e4ee5d43d74ffc9ed5 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 19 Nov 2024 11:29:46 -0800 Subject: Remove InApexModules The only use of InApexModules was a container check that verified that apexes didn't depend on non-stubs modules from outside the apex. Switch it to InApexVariants for now, although that will also need to be removed. Bug: 372543712 Test: builds Change-Id: I822e982e3e8767dc251c8341de9f40373982c6ed --- apex/prebuilt.go | 1 - 1 file changed, 1 deletion(-) (limited to 'apex/prebuilt.go') diff --git a/apex/prebuilt.go b/apex/prebuilt.go index 2bef0cccf..f93eada8b 100644 --- a/apex/prebuilt.go +++ b/apex/prebuilt.go @@ -356,7 +356,6 @@ func (p *prebuiltCommon) apexInfoMutator(mctx android.TopDownMutatorContext) { apexInfo := android.ApexInfo{ ApexVariationName: apexVariationName, InApexVariants: []string{apexVariationName}, - InApexModules: []string{p.BaseModuleName()}, // BaseModuleName() to avoid the prebuilt_ prefix. ForPrebuiltApex: true, } -- cgit v1.2.3-59-g8ed1b