diff options
author | Colin Cross <ccross@android.com> | 2019-02-20 11:25:01 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2019-02-20 11:25:54 -0800 |
commit | 45df0bd15a986aa4e202e3ed75548929fd9bdc23 (patch) | |
tree | 0f0f62f25cb4a546543d4faddd084fb18df8d09b | |
parent | 3d186813f21dab25154014c113eecb3f314f2b94 (diff) | |
download | android_build_soong-45df0bd15a986aa4e202e3ed75548929fd9bdc23.tar.gz android_build_soong-45df0bd15a986aa4e202e3ed75548929fd9bdc23.tar.bz2 android_build_soong-45df0bd15a986aa4e202e3ed75548929fd9bdc23.zip |
Fix typo when multiple BootImageProfiles specified
cat needs a redirect to the output file.
Test: m checkbuild
Change-Id: I7f39048a3e0aa85fa7ce826bfb811e4ce5aa3277
-rw-r--r-- | java/dexpreopt_bootjars.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/dexpreopt_bootjars.go b/java/dexpreopt_bootjars.go index 05868da9..88534283 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] |