From d7d5b72e4e3cb702f1bd328e632f81d61e836e7a Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Fri, 1 Oct 2021 10:33:12 -0400 Subject: [PATCH] Correct path for removing old bazel artifacts Test: mixed_libc.sh Bug: 201767767 Change-Id: Ie34ac3a583dbefb6c4b79ea0756acef623116af7 --- android/bazel_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/bazel_handler.go b/android/bazel_handler.go index 22412553c..6648a2fb8 100644 --- a/android/bazel_handler.go +++ b/android/bazel_handler.go @@ -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("&&") }