diff options
Diffstat (limited to 'java/droidstubs.go')
-rw-r--r-- | java/droidstubs.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/java/droidstubs.go b/java/droidstubs.go index 22f4d981d..caad6883e 100644 --- a/java/droidstubs.go +++ b/java/droidstubs.go @@ -1429,6 +1429,16 @@ func (d *Droidstubs) GenerateAndroidBuildActions(ctx android.ModuleContext) { d.setOutputFiles(ctx) d.setPhonyRules(ctx) + + if d.apiLintTimestamp != nil { + if d.apiLintReport != nil { + ctx.DistForGoalsWithFilename( + []string{fmt.Sprintf("%s-api-lint", d.Name()), "droidcore"}, + d.apiLintReport, + fmt.Sprintf("apilint/%s-lint-report.txt", d.Name()), + ) + } + } } func setDroidInfo(ctx android.ModuleContext, d *Droidstubs, info *StubsInfo, typ StubsType) { |