diff options
Diffstat (limited to 'android/defs.go')
-rw-r--r-- | android/defs.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/android/defs.go b/android/defs.go index c8e2e9b3c..362b382b3 100644 --- a/android/defs.go +++ b/android/defs.go @@ -52,10 +52,10 @@ var ( // A copy rule. Cp = pctx.AndroidStaticRule("Cp", blueprint.RuleParams{ - Command: "rm -f $out && cp $cpPreserveSymlinks $cpFlags $in $out", + Command: "rm -f $out && cp $cpPreserveSymlinks $cpFlags $in $out$extraCmds", Description: "cp $out", }, - "cpFlags") + "cpFlags", "extraCmds") // A copy rule that only updates the output if it changed. CpIfChanged = pctx.AndroidStaticRule("CpIfChanged", @@ -68,10 +68,10 @@ var ( CpExecutable = pctx.AndroidStaticRule("CpExecutable", blueprint.RuleParams{ - Command: "rm -f $out && cp $cpPreserveSymlinks $cpFlags $in $out && chmod +x $out", + Command: "rm -f $out && cp $cpPreserveSymlinks $cpFlags $in $out && chmod +x $out$extraCmds", Description: "cp $out", }, - "cpFlags") + "cpFlags", "extraCmds") // A timestamp touch rule. Touch = pctx.AndroidStaticRule("Touch", |