From a7126555c9319579f694526fc9058ed94715988e Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Fri, 8 May 2020 17:19:26 -0700 Subject: [PATCH] Add lineage file to deps for signapk. (This is a cherry pick.) Test: app_test.go Bug: 153366049 Merged-In: I1481eb51d5d02674922459bdfac65c59d1130015 Change-Id: I1481eb51d5d02674922459bdfac65c59d1130015 --- java/app_builder.go | 1 + 1 file changed, 1 insertion(+) diff --git a/java/app_builder.go b/java/app_builder.go index 1efc856f6..fb9ab4295 100644 --- a/java/app_builder.go +++ b/java/app_builder.go @@ -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{