Merge "Delete output files before copying to them."
This commit is contained in:
@@ -47,7 +47,7 @@ var (
|
|||||||
// A copy rule.
|
// A copy rule.
|
||||||
Cp = pctx.AndroidStaticRule("Cp",
|
Cp = pctx.AndroidStaticRule("Cp",
|
||||||
blueprint.RuleParams{
|
blueprint.RuleParams{
|
||||||
Command: "cp $cpPreserveSymlinks $cpFlags $in $out",
|
Command: "rm -f $out && cp $cpPreserveSymlinks $cpFlags $in $out",
|
||||||
Description: "cp $out",
|
Description: "cp $out",
|
||||||
},
|
},
|
||||||
"cpFlags")
|
"cpFlags")
|
||||||
|
Reference in New Issue
Block a user