diff --git a/java/droiddoc.go b/java/droiddoc.go index 098400bff..959f1c734 100644 --- a/java/droiddoc.go +++ b/java/droiddoc.go @@ -534,6 +534,9 @@ func (j *Javadoc) collectDeps(ctx android.ModuleContext) deps { ctx.AddMissingDependencies(sdkDep.java9Classpath) } else if sdkDep.useFiles { deps.bootClasspath = append(deps.bootClasspath, sdkDep.jars...) + deps.aidlPreprocess = sdkDep.aidl + } else { + deps.aidlPreprocess = sdkDep.aidl } ctx.VisitDirectDeps(func(module android.Module) {