Merge "apex: rm $out before decompressing an apex." into main

This commit is contained in:
Jooyung Han
2024-08-09 01:33:04 +00:00
committed by Gerrit Code Review

View File

@@ -43,9 +43,9 @@ var (
}, },
"abis", "allow-prereleased", "sdk-version", "skip-sdk-check") "abis", "allow-prereleased", "sdk-version", "skip-sdk-check")
decompressApex = pctx.StaticRule("decompressApex", blueprint.RuleParams{ decompressApex = pctx.StaticRule("decompressApex", blueprint.RuleParams{
Command: `${deapexer} decompress --copy-if-uncompressed --input ${in} --output ${out}`, Command: `rm -rf $out && ${deapexer} decompress --copy-if-uncompressed --input ${in} --output ${out}`,
CommandDeps: []string{"${deapexer}"}, CommandDeps: []string{"${deapexer}"},
Description: "decompress", Description: "decompress $out",
}) })
) )