From d90d7413b7c8a0a21c078c1bb0ab4ebbbe6c0501 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Tue, 20 Aug 2019 22:49:19 +0900 Subject: [PATCH] Droiddoc can accept logtags as input sources Bug: 135922046 Test: m Merged-In: I3fcdc751c91bd762a3fb19b74c1652be1c7ff115 Change-Id: I3fcdc751c91bd762a3fb19b74c1652be1c7ff115 --- java/droiddoc.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java/droiddoc.go b/java/droiddoc.go index 9956270c9..b47494893 100644 --- a/java/droiddoc.go +++ b/java/droiddoc.go @@ -474,6 +474,7 @@ func (j *Javadoc) aidlFlags(ctx android.ModuleContext, aidlPreprocess android.Op return strings.Join(flags, " "), deps } +// TODO: remove the duplication between this and the one in gen.go func (j *Javadoc) genSources(ctx android.ModuleContext, srcFiles android.Paths, flags droiddocBuilderFlags) android.Paths { @@ -487,6 +488,9 @@ func (j *Javadoc) genSources(ctx android.ModuleContext, srcFiles android.Paths, case ".sysprop": javaFile := genSysprop(ctx, srcFile) outSrcFiles = append(outSrcFiles, javaFile) + case ".logtags": + javaFile := genLogtags(ctx, srcFile) + outSrcFiles = append(outSrcFiles, javaFile) default: outSrcFiles = append(outSrcFiles, srcFile) }