Merge "Call InstallFile even when !installable" am: a07b559571 am: 84de371ad9 am: 55b672b7e6 am: 347c881327

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1836921

Change-Id: I130508cd734b07069d0e0bcd19ac9e8986ec88f3
This commit is contained in:
Treehugger Robot
2021-09-30 10:50:49 +00:00
committed by Automerger Merge Worker

View File

@@ -824,10 +824,8 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext) {
a.outputFile = signedCompressedOutputFile
}
// Install to $OUT/soong/{target,host}/.../apex
if a.installable() {
ctx.InstallFile(a.installDir, a.Name()+suffix, a.outputFile)
}
// Install to $OUT/soong/{target,host}/.../apex.
ctx.InstallFile(a.installDir, a.Name()+suffix, a.outputFile)
// installed-files.txt is dist'ed
a.installedFilesFile = a.buildInstalledFilesFile(ctx, a.outputFile, imageDir)