Revert "conditionally escape rule builder command" am: 53ed08aec0
am: 5de40ab122
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2760290 Change-Id: I1fec88b0aad65649b2b80a4dcf45f491b28e6447 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -756,13 +756,9 @@ func (r *RuleBuilder) build(name string, desc string, ninjaEscapeCommandString b
|
|||||||
pool = localPool
|
pool = localPool
|
||||||
}
|
}
|
||||||
|
|
||||||
if ninjaEscapeCommandString {
|
|
||||||
commandString = proptools.NinjaEscape(commandString)
|
|
||||||
}
|
|
||||||
|
|
||||||
r.ctx.Build(r.pctx, BuildParams{
|
r.ctx.Build(r.pctx, BuildParams{
|
||||||
Rule: r.ctx.Rule(r.pctx, name, blueprint.RuleParams{
|
Rule: r.ctx.Rule(r.pctx, name, blueprint.RuleParams{
|
||||||
Command: commandString,
|
Command: proptools.NinjaEscape(commandString),
|
||||||
CommandDeps: proptools.NinjaEscapeList(tools.Strings()),
|
CommandDeps: proptools.NinjaEscapeList(tools.Strings()),
|
||||||
Restat: r.restat,
|
Restat: r.restat,
|
||||||
Rspfile: proptools.NinjaEscape(rspFile),
|
Rspfile: proptools.NinjaEscape(rspFile),
|
||||||
|
Reference in New Issue
Block a user