Lines Matching refs:d
578 func (d *Droiddoc) OutputFiles(tag string) (android.Paths, error) {
581 return android.Paths{d.Javadoc.docZip}, nil
587 func (d *Droiddoc) DepsMutator(ctx android.BottomUpMutatorContext) {
588 d.Javadoc.addDeps(ctx)
590 if String(d.properties.Custom_template) != "" {
591 ctx.AddDependency(ctx.Module(), droiddocTemplateTag, String(d.properties.Custom_template))
595 func (d *Droiddoc) doclavaDocsFlags(ctx android.ModuleContext, cmd *android.RuleBuilderCommand, doc…
607 …ge.now ", `"$(date -d @$(cat `+ctx.Config().Getenv("BUILD_DATETIME_FILE")+`) "+%d %b %Y %k:%M")" `)
609 if String(d.properties.Custom_template) == "" {
622 if len(d.properties.Html_dirs) > 0 {
623 htmlDir := android.PathForModuleSrc(ctx, d.properties.Html_dirs[0])
625 …Implicits(android.PathsForModuleSrc(ctx, []string{filepath.Join(d.properties.Html_dirs[0], "**/*")…
628 if len(d.properties.Html_dirs) > 1 {
629 htmlDir2 := android.PathForModuleSrc(ctx, d.properties.Html_dirs[1])
631 …Implicits(android.PathsForModuleSrc(ctx, []string{filepath.Join(d.properties.Html_dirs[1], "**/*")…
634 if len(d.properties.Html_dirs) > 2 {
638 knownTags := android.PathsForModuleSrc(ctx, d.properties.Knowntags)
641 cmd.FlagForEachArg("-hdf ", d.properties.Hdf)
643 if String(d.properties.Proofread_file) != "" {
644 proofreadFile := android.PathForModuleOut(ctx, String(d.properties.Proofread_file))
648 if String(d.properties.Todo_file) != "" {
652 cmd.FlagWithArg("-todo ", String(d.properties.Todo_file)).
653 ImplicitOutput(android.PathForModuleOut(ctx, String(d.properties.Todo_file)))
656 if String(d.properties.Resourcesdir) != "" {
659 resourcesDir := android.PathForModuleSrc(ctx, String(d.properties.Resourcesdir))
663 if String(d.properties.Resourcesoutdir) != "" {
665 cmd.FlagWithArg("-resourcesoutdir ", String(d.properties.Resourcesoutdir))
669 func (d *Droiddoc) postDoclavaCmds(ctx android.ModuleContext, rule *android.RuleBuilder) {
670 if String(d.properties.Static_doc_index_redirect) != "" {
671 …staticDocIndexRedirect := android.PathForModuleSrc(ctx, String(d.properties.Static_doc_index_redir…
677 if String(d.properties.Static_doc_properties) != "" {
678 staticDocProperties := android.PathForModuleSrc(ctx, String(d.properties.Static_doc_properties))
767 func (d *Droiddoc) GenerateAndroidBuildActions(ctx android.ModuleContext) {
768 deps := d.Javadoc.collectDeps(ctx)
770 d.Javadoc.docZip = android.PathForModuleOut(ctx, ctx.ModuleName()+"-"+"docs.zip")
780 srcJarList := zipSyncCmd(ctx, rule, srcJarDir, d.Javadoc.srcJars)
783 if Bool(d.properties.Dokka_enabled) {
786 cmd = javadocBootclasspathCmd(ctx, rule, d.Javadoc.srcFiles, outDir, srcJarDir, srcJarList,
787 deps.bootClasspath, deps.classpath, d.Javadoc.sourcepaths)
790 d.expandArgs(ctx, cmd)
792 if d.properties.Compat_config != nil {
793 compatConfig := android.PathForModuleSrc(ctx, String(d.properties.Compat_config))
798 if Bool(d.properties.Dokka_enabled) {
801 d.doclavaDocsFlags(ctx, cmd, classpath{jsilver, doclava})
803 for _, o := range d.Javadoc.properties.Out {
807 d.postDoclavaCmds(ctx, rule)
815 FlagWithOutput("-o ", d.docZip).
853 func (d *ExportedDroiddocDir) DepsMutator(android.BottomUpMutatorContext) {}
855 func (d *ExportedDroiddocDir) GenerateAndroidBuildActions(ctx android.ModuleContext) {
856 path := String(d.properties.Path)
857 d.dir = android.PathForModuleSrc(ctx, path)
858 d.deps = android.PathsForModuleSrc(ctx, []string{filepath.Join(path, "**/*")})