Correct path for removing old bazel artifacts am: d7d5b72e4e

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1842591

Change-Id: I62f4c92912921fd0c372d8ce3eb5520561eec77e
This commit is contained in:
Liz Kammer
2021-10-01 15:36:37 +00:00
committed by Automerger Merge Worker

View File

@@ -815,7 +815,7 @@ func (c *bazelSingleton) GenerateBuildActions(ctx SingletonContext) {
if len(buildStatement.OutputPaths) > 0 {
cmd.Text("rm -f")
for _, outputPath := range buildStatement.OutputPaths {
cmd.Text(PathForBazelOut(ctx, outputPath).String())
cmd.Text(outputPath)
}
cmd.Text("&&")
}