Build a zip of transitive lint reports for apps
Add a rule to build a zip containing the lint reports from transitive
dependencies for apps, and pass it to Make.
Bug: 153485543
Test: m TARGET_BUILD_APPS=Gallery2 lint-check
Change-Id: I523c09016251377ff89d76084769be7401b95425
Merged-In: I523c09016251377ff89d76084769be7401b95425
(cherry picked from commit c0efd1db13e383a0b3ac96e3718a006dea0e1cfd)
diff --git a/java/app.go b/java/app.go
index 5af89b9..fe70384 100755
--- a/java/app.go
+++ b/java/app.go
@@ -749,6 +749,7 @@
a.linter.mergedManifest = a.aapt.mergedManifestFile
a.linter.manifest = a.aapt.manifestPath
a.linter.resources = a.aapt.resourceFiles
+ a.linter.buildModuleReportZip = ctx.Config().UnbundledBuild()
dexJarFile := a.dexBuildActions(ctx)