Add lineage file to deps for signapk.

(This is a cherry pick.)

Test: app_test.go
Bug: 153366049
Merged-In: I1481eb51d5d02674922459bdfac65c59d1130015
Change-Id: I1481eb51d5d02674922459bdfac65c59d1130015
This commit is contained in:
Liz Kammer 2020-05-08 17:19:26 -07:00
parent b9d65417c3
commit a7126555c9
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ func SignAppPackage(ctx android.ModuleContext, signedApk android.WritablePath, u
var flags []string
if lineageFile != nil {
flags = append(flags, "--lineage", lineageFile.String())
deps = append(deps, lineageFile)
}
ctx.Build(pctx, android.BuildParams{