Lines Matching refs:rule

394 func metalavaCmd(ctx android.ModuleContext, rule *android.RuleBuilder, javaVersion javaVersion, src…
396 rule.Command().Text("rm -rf").Flag(homeDir.String())
397 rule.Command().Text("mkdir -p").Flag(homeDir.String())
399 cmd := rule.Command()
403 rule.Remoteable(android.RemoteRuleSupports{RBE: true})
408 rule.Rewrapper(&remoteexec.REParams{
451 rule := android.NewRuleBuilder(pctx, ctx)
453 rule.Sbox(android.PathForModuleOut(ctx, "metalava"),
459 rule.HighMem()
467 rule.Command().Text("rm -rf").Text(stubsDir.String())
468 rule.Command().Text("mkdir -p").Text(stubsDir.String())
471 srcJarList := zipSyncCmd(ctx, rule, srcJarDir, d.Javadoc.srcJars)
474 cmd := metalavaCmd(ctx, rule, javaVersion, d.Javadoc.srcFiles, srcJarList,
592 rule.Command().
603 rule.Command().
615 rule.Command().Text("touch").Output(d.apiLintTimestamp)
618 rule.Command().Text("touch").Output(d.checkLastReleasedApiTimestamp)
624 zipSyncCleanupCmd(rule, srcJarDir)
626 rule.Build("metalava", "metalava merged")
644 rule := android.NewRuleBuilder(pctx, ctx)
651 rule.Command().Text("( true")
652 rule.Command().
656 rule.Command().
671 rule.Command().
678 rule.Build("metalavaCurrentApiCheck", "check current API")
683 rule = android.NewRuleBuilder(pctx, ctx)
685 rule.Command().Text("( true")
687 rule.Command().
691 rule.Command().
697 rule.Command().
704 rule.Build("metalavaCurrentApiUpdate", "update current API")
727 rule := android.NewRuleBuilder(pctx, ctx)
729 rule.Command().
739 rule.Build("nullabilityWarningsCheck", "nullability warnings check")
804 rule := android.NewRuleBuilder(pctx, ctx)
805 rule.Command().
813 rule.Restat()
815 rule.Build("zip src", "Create srcjar from prebuilt source")