diff --git a/java/dexpreopt_bootjars.go b/java/dexpreopt_bootjars.go index 05868da97..88534283b 100644 --- a/java/dexpreopt_bootjars.go +++ b/java/dexpreopt_bootjars.go @@ -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]