Merge "Fix typo when multiple BootImageProfiles specified"
am: 55f8c42a7b
Change-Id: I3a527e631140804b5689f6f1e4f30dcb2858d033
This commit is contained in:
@@ -399,7 +399,7 @@ func bootImageProfileRule(ctx android.SingletonContext, info *bootJarsInfo, miss
|
|||||||
var bootImageProfile string
|
var bootImageProfile string
|
||||||
if len(info.global.BootImageProfiles) > 1 {
|
if len(info.global.BootImageProfiles) > 1 {
|
||||||
combinedBootImageProfile := info.dir.Join(ctx, "boot-image-profile.txt")
|
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()
|
bootImageProfile = combinedBootImageProfile.String()
|
||||||
} else {
|
} else {
|
||||||
bootImageProfile = info.global.BootImageProfiles[0]
|
bootImageProfile = info.global.BootImageProfiles[0]
|
||||||
|
Reference in New Issue
Block a user