Merge "Remove unused writeFile var" into main am: 7965e1c9a8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3036695 Change-Id: I18cd8f34ab5b7c5dcdfad21f3cd71a21fcc28e4a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user