summaryrefslogtreecommitdiff
path: root/filesystem/android_device.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2025-02-27 02:18:17 -0800
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-02-27 02:18:17 -0800
commitc5f19edc9ee88aaf16761377c95a706a6969406f (patch)
treea641c83cde740066c272dd92e5ca8d6d5a7aa6ca /filesystem/android_device.go
parent2edb63d53d706639005c1ef13b2343c2badc0292 (diff)
parent0aee5418802b00475d7274a810246a12bd2cfd86 (diff)
Merge "Handle prebuilt module types in allInstalledModules" into main am: 99939adf82 am: 0aee541880
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3510250 Change-Id: I07f1e5d5055a2698fcd7c461abe4ae8ca04e3324 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'filesystem/android_device.go')
-rw-r--r--filesystem/android_device.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/filesystem/android_device.go b/filesystem/android_device.go
index 178c716d4..31678aa3b 100644
--- a/filesystem/android_device.go
+++ b/filesystem/android_device.go
@@ -279,7 +279,7 @@ func (a *androidDevice) allInstalledModules(ctx android.ModuleContext) []android
ret := []android.Module{}
ctx.WalkDepsProxy(func(mod, _ android.ModuleProxy) bool {
- if variations, ok := allOwners[mod.Name()]; ok && android.InList(ctx.OtherModuleSubDir(mod), variations) {
+ if variations, ok := allOwners[ctx.OtherModuleName(mod)]; ok && android.InList(ctx.OtherModuleSubDir(mod), variations) {
ret = append(ret, mod)
}
return true