Build transitive lint reports for apex modules
Build and export transitive lint report zips for apex modules. Bug: 153485543 Test: m TARGET_BUILD_APPS=com.google.android.wifi lint-check dist Change-Id: I5a1805440452301a7e2c4ca91482b989638b54fb
This commit is contained in:
@@ -815,3 +815,12 @@ func (a *apexBundle) buildApexDependencyInfo(ctx android.ModuleContext) {
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
func (a *apexBundle) buildLintReports(ctx android.ModuleContext) {
|
||||
depSetsBuilder := java.NewLintDepSetBuilder()
|
||||
for _, fi := range a.filesInfo {
|
||||
depSetsBuilder.Transitive(fi.lintDepSets)
|
||||
}
|
||||
|
||||
a.lintReports = java.BuildModuleLintReportZips(ctx, depSetsBuilder.Build())
|
||||
}
|
||||
|
Reference in New Issue
Block a user