aboutsummaryrefslogtreecommitdiff
path: root/filesystem/super_image.go
diff options
context:
space:
mode:
Diffstat (limited to 'filesystem/super_image.go')
-rw-r--r--filesystem/super_image.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/filesystem/super_image.go b/filesystem/super_image.go
index cf7e125a0..3a0dcd07d 100644
--- a/filesystem/super_image.go
+++ b/filesystem/super_image.go
@@ -240,8 +240,8 @@ func (s *superImage) buildMiscInfo(ctx android.ModuleContext, superEmpty bool) (
missingPartitionErrorMessage += fmt.Sprintf("%s image listed in partition groups, but its module was not specified. ", partitionType)
return
}
- mod := ctx.GetDirectDepWithTag(*name, subImageDepTag)
- if mod == nil {
+ mod := ctx.GetDirectDepProxyWithTag(*name, subImageDepTag)
+ if mod.IsNil() {
ctx.ModuleErrorf("Could not get dep %q", *name)
return
}