diff options
author | 2024-04-10 12:09:15 +0100 | |
---|---|---|
committer | 2024-04-10 13:21:28 +0100 | |
commit | 7f5073a94a0b77db34f938363b6c165685173914 (patch) | |
tree | 7d0329c47a3dcaa1e5b657135be7042346e3f557 /android/defs.go | |
parent | 1edffe1dc4fa19bd15340be691f38f7e03b88c6e (diff) |
Remove unused writeFile var
Test: TH
Change-Id: I09922d8f837f41dad01bc64192fa174d988eb39a
Diffstat (limited to 'android/defs.go')
-rw-r--r-- | android/defs.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/android/defs.go b/android/defs.go index a34d30248..78cdea2ba 100644 --- a/android/defs.go +++ b/android/defs.go @@ -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") |