Merge changes I5a180544,Ifdf9bf97 into rvc-dev

* changes:
  Build transitive lint reports for apex modules
  Add environment variables to control lint checks
This commit is contained in:
TreeHugger Robot
2020-07-30 17:33:59 +00:00
committed by Android (Google) Code Review
8 changed files with 176 additions and 47 deletions

View File

@@ -333,6 +333,10 @@ func (a *apexBundle) androidMkForType() android.AndroidMkData {
if apexType == imageApex {
fmt.Fprintln(w, "ALL_MODULES.$(LOCAL_MODULE).BUNDLE :=", a.bundleModuleFile.String())
}
if len(a.lintReports) > 0 {
fmt.Fprintln(w, "ALL_MODULES.$(my_register_name).LINT_REPORTS :=",
strings.Join(a.lintReports.Strings(), " "))
}
if a.installedFilesFile != nil {
goal := "checkbuild"