From bd63a108a000cbcda4b0d27108f0c39dd1768a1d Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Sat, 8 Feb 2020 12:40:05 +0900 Subject: [PATCH] -installed-file.txt shows symlinks Bug: 147605944 Test: m and inspect the generated txt files Change-Id: I26ecaf66a531478d22fb4611bb4ea19e92ef132e --- apex/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apex/builder.go b/apex/builder.go index 51818eb6a..e267e49c2 100644 --- a/apex/builder.go +++ b/apex/builder.go @@ -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")