Merge "Droiddoc can accept logtags as input sources"
This commit is contained in:
commit
95515641e7
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue