diff options
author | Colin Cross <ccross@android.com> | 2021-08-10 19:24:07 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2021-08-11 09:07:57 -0700 |
commit | 192221b55e134385ef387188cdcb450b9d991167 (patch) | |
tree | b1f26eed01ac189406b9de56804efc94889ed014 /apex | |
parent | fe1d6c535c3aa92c2c12db9590ab8a8fae9bb9cd (diff) | |
download | soong-192221b55e134385ef387188cdcb450b9d991167.tar.gz |
Collect lint reports from apps in apexes
Lint reports were only being collected from jars in apexes, not
apps.
Bug: 188772607
Test: mainline_modules_arm64 build
Change-Id: Ie84819343f8b8ab3f43496bbc9b7876d0d0d8e70
Merged-In: Ie84819343f8b8ab3f43496bbc9b7876d0d0d8e70
(cherry picked from commit 8355c1524fbb1d6b7b7a25a13f66feffb1aa7214)
Diffstat (limited to 'apex')
-rw-r--r-- | apex/apex.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apex/apex.go b/apex/apex.go index bea54bccc..77854074b 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -1522,6 +1522,7 @@ type androidApp interface { JacocoReportClassesFile() android.Path Certificate() java.Certificate BaseModuleName() string + LintDepSets() java.LintDepSets } var _ androidApp = (*java.AndroidApp)(nil) @@ -1536,6 +1537,7 @@ func apexFileForAndroidApp(ctx android.BaseModuleContext, aapp androidApp) apexF fileToCopy := aapp.OutputFile() af := newApexFile(ctx, fileToCopy, aapp.BaseModuleName(), dirInApex, app, aapp) af.jacocoReportClassesFile = aapp.JacocoReportClassesFile() + af.lintDepSets = aapp.LintDepSets() af.certificate = aapp.Certificate() if app, ok := aapp.(interface { |