Fix RuleBuilder.Restat
RuleBuilder.Restat wasn't being propagated to the rule. Test: rule_builder_test.go Change-Id: Ie64c8076692ea10a0c47ed5a8832e3f553bea0fc
This commit is contained in:
@@ -242,6 +242,7 @@ func (r *RuleBuilder) Build(pctx PackageContext, ctx BuilderContext, name string
|
||||
Rule: ctx.Rule(pctx, name, blueprint.RuleParams{
|
||||
Command: strings.Join(proptools.NinjaEscapeList(r.Commands()), " && "),
|
||||
CommandDeps: r.Tools().Strings(),
|
||||
Restat: r.restat,
|
||||
}),
|
||||
Implicits: r.Inputs(),
|
||||
Outputs: r.Outputs(),
|
||||
|
Reference in New Issue
Block a user