summaryrefslogtreecommitdiff
path: root/android/container.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-11-19 11:29:46 -0800
committer Colin Cross <ccross@android.com> 2024-11-20 11:17:30 -0800
commitf6978173131245bac18297e4ee5d43d74ffc9ed5 (patch)
tree96bc52d625b356e3ed45076a55c547de79cf71b0 /android/container.go
parentbb674a1970459b82246e1815b085d6c192c68086 (diff)
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
Diffstat (limited to 'android/container.go')
-rw-r--r--android/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/container.go b/android/container.go
index 2a3777b30..775436a51 100644
--- a/android/container.go
+++ b/android/container.go
@@ -382,7 +382,7 @@ func (c *ContainersInfo) BelongingContainers() []*container {
func (c *ContainersInfo) ApexNames() (ret []string) {
for _, apex := range c.belongingApexes {
- ret = append(ret, apex.InApexModules...)
+ ret = append(ret, apex.InApexVariants...)
}
slices.Sort(ret)
return ret