<apexname>-installed-file.txt shows symlinks

Bug: 147605944
Test: m and inspect the generated txt files
Change-Id: I26ecaf66a531478d22fb4611bb4ea19e92ef132e
This commit is contained in:
Jiyong Park
2020-02-08 12:40:05 +09:00
parent 570147469f
commit bd63a108a0

View File

@@ -239,7 +239,7 @@ func (a *apexBundle) buildInstalledFilesFile(ctx android.ModuleContext, builtApe
rule.Command().
Implicit(builtApex).
Text("(cd " + imageDir.String() + " ; ").
Text("find . -type f -printf \"%s %p\\n\") ").
Text("find . \\( -type f -o -type l \\) -printf \"%s %p\\n\") ").
Text(" | sort -nr > ").
Output(output)
rule.Build(pctx, ctx, "installed-files."+a.Name(), "Installed files")