Merge "Fix typo when multiple BootImageProfiles specified" am: 55f8c42a7b

am: 5a32244ce7

Change-Id: I7d6313fa31c349c2397779f1ec94ab4da7878ab8
This commit is contained in:
Colin Cross
2019-02-20 16:36:43 -08:00
committed by android-build-merger

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]