diff options
Diffstat (limited to 'filesystem')
-rw-r--r-- | filesystem/avb_add_hash_footer.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/filesystem/avb_add_hash_footer.go b/filesystem/avb_add_hash_footer.go index c1e03cb62..327a41fda 100644 --- a/filesystem/avb_add_hash_footer.go +++ b/filesystem/avb_add_hash_footer.go @@ -210,6 +210,9 @@ var _ android.SourceFileProducer = (*avbAddHashFooter)(nil) // Implements android.SourceFileProducer func (a *avbAddHashFooter) Srcs() android.Paths { + if a.output == nil { + return nil + } return append(android.Paths{}, a.output) } |