Merge "Fix typo when multiple BootImageProfiles specified"

This commit is contained in:
Treehugger Robot 2019-02-20 23:23:54 +00:00 committed by Gerrit Code Review
commit 55f8c42a7b
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ func bootImageProfileRule(ctx android.SingletonContext, info *bootJarsInfo, miss
var bootImageProfile string
if len(info.global.BootImageProfiles) > 1 {
combinedBootImageProfile := info.dir.Join(ctx, "boot-image-profile.txt")
rule.Command().Text("cat").Inputs(info.global.BootImageProfiles).Output(combinedBootImageProfile.String())
rule.Command().Text("cat").Inputs(info.global.BootImageProfiles).Text(">").Output(combinedBootImageProfile.String())
bootImageProfile = combinedBootImageProfile.String()
} else {
bootImageProfile = info.global.BootImageProfiles[0]