Lines Matching refs:rule
513 rule := android.NewRuleBuilder(pctx, ctx)
515 rule.Command().Text("rm -rf").Text(outDir.String())
516 rule.Command().Text("mkdir -p").Text(outDir.String())
518 srcJarList := zipSyncCmd(ctx, rule, srcJarDir, j.srcJars)
522 cmd := javadocSystemModulesCmd(ctx, rule, j.srcFiles, outDir, srcJarDir, srcJarList,
532 rule.Command().
540 rule.Restat()
542 zipSyncCleanupCmd(rule, srcJarDir)
544 rule.Build("javadoc", "javadoc")
669 func (d *Droiddoc) postDoclavaCmds(ctx android.ModuleContext, rule *android.RuleBuilder) {
672 rule.Command().Text("cp").
679 rule.Command().Text("cp").
685 func javadocCmd(ctx android.ModuleContext, rule *android.RuleBuilder, srcs android.Paths,
688 cmd := rule.Command().
712 func javadocSystemModulesCmd(ctx android.ModuleContext, rule *android.RuleBuilder, srcs android.Pat…
716 cmd := javadocCmd(ctx, rule, srcs, outDir, srcJarDir, srcJarList, sourcepaths)
730 func javadocBootclasspathCmd(ctx android.ModuleContext, rule *android.RuleBuilder, srcs android.Pat…
734 cmd := javadocCmd(ctx, rule, srcs, outDir, srcJarDir, srcJarList, sourcepaths)
751 func dokkaCmd(ctx android.ModuleContext, rule *android.RuleBuilder,
757 return rule.Command().
778 rule := android.NewRuleBuilder(pctx, ctx)
780 srcJarList := zipSyncCmd(ctx, rule, srcJarDir, d.Javadoc.srcJars)
784 cmd = dokkaCmd(ctx, rule, outDir, srcJarDir, deps.bootClasspath, deps.classpath)
786 cmd = javadocBootclasspathCmd(ctx, rule, d.Javadoc.srcFiles, outDir, srcJarDir, srcJarList,
807 d.postDoclavaCmds(ctx, rule)
811 rule.Command().
819 rule.Restat()
821 zipSyncCleanupCmd(rule, srcJarDir)
823 rule.Build("javadoc", desc)
882 func zipSyncCmd(ctx android.ModuleContext, rule *android.RuleBuilder,
885 cmd := rule.Command()
887 cmd = rule.Command()
891 rule.Temporary(srcJarList)
893 cmd = rule.Command()
903 func zipSyncCleanupCmd(rule *android.RuleBuilder, srcJarDir android.ModuleOutPath) {
904 rule.Command().Text("rm -rf").Text(srcJarDir.String())