Lines Matching refs:rule
212 func (l *linter) writeLintProjectXML(ctx android.ModuleContext, rule *android.RuleBuilder) lintPath…
220 srcJarList := zipSyncCmd(ctx, rule, srcJarDir, l.srcJars)
222 cmd := rule.Command().
295 func (l *linter) generateManifest(ctx android.ModuleContext, rule *android.RuleBuilder) android.Wri…
298 rule.Command().Text("(").
353 rule := android.NewRuleBuilder(pctx, ctx).
360 rule.Remoteable(android.RemoteRuleSupports{RBE: true})
361 rule.Rewrapper(&remoteexec.REParams{
370 manifest := l.generateManifest(ctx, rule)
372 rule.Temporary(manifest)
375 lintPaths := l.writeLintProjectXML(ctx, rule)
389 rule.Command().Text("rm -rf").Flag(lintPaths.cacheDir.String()).Flag(lintPaths.homeDir.String())
390 rule.Command().Text("mkdir -p").Flag(lintPaths.cacheDir.String()).Flag(lintPaths.homeDir.String())
391 rule.Command().Text("rm -f").Output(html).Output(text).Output(xml)
415 cmd := rule.Command()
438 rule.Temporary(lintPaths.projectXML)
439 rule.Temporary(lintPaths.configXML)
452 rule.Command().Text("rm -rf").Flag(lintPaths.cacheDir.String()).Flag(lintPaths.homeDir.String())
455 rule.Command().Text(`sed -i.tmp -e 's|Check performed at .*\(</nav>\)|\1|'`).Output(html)
457 rule.Build("lint", "lint")
647 rule := android.NewRuleBuilder(pctx, ctx)
649 rule.Command().BuiltTool("soong_zip").
654 rule.Build(outputPath.Base(), outputPath.Base())