Merge changes from topic "reland-rust-sbox-1" into main am: ec59517f6a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2761808 Change-Id: I8f4ad3d412915b05763324b3e2e96c3af1ce8678 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -756,9 +756,13 @@ 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: proptools.NinjaEscape(commandString),
|
Command: 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