Remove unused writeFile var
Test: TH Change-Id: I09922d8f837f41dad01bc64192fa174d988eb39a
This commit is contained in:
parent
1edffe1dc4
commit
7f5073a94a
1 changed files with 0 additions and 10 deletions
|
@ -103,16 +103,6 @@ var (
|
|||
Description: "concatenate files to $out",
|
||||
})
|
||||
|
||||
// ubuntu 14.04 offcially use dash for /bin/sh, and its builtin echo command
|
||||
// doesn't support -e option. Therefore we force to use /bin/bash when writing out
|
||||
// content to file.
|
||||
writeFile = pctx.AndroidStaticRule("writeFile",
|
||||
blueprint.RuleParams{
|
||||
Command: `rm -f $out && /bin/bash -c 'echo -e -n "$$0" > $out' $content`,
|
||||
Description: "writing file $out",
|
||||
},
|
||||
"content")
|
||||
|
||||
// Used only when USE_GOMA=true is set, to restrict non-goma jobs to the local parallelism value
|
||||
localPool = blueprint.NewBuiltinPool("local_pool")
|
||||
|
||||
|
|
Loading…
Reference in a new issue