Merge "lint: always run module specified in ANDROID_LINT_CHECK_EXTRA_MODULES"
This commit is contained in:
commit
0e2c2aaa60
1 changed files with 2 additions and 4 deletions
|
@ -190,10 +190,8 @@ func (l *linter) deps(ctx android.BottomUpMutatorContext) {
|
|||
|
||||
extraCheckModules := l.properties.Lint.Extra_check_modules
|
||||
|
||||
if checkOnly := ctx.Config().Getenv("ANDROID_LINT_CHECK"); checkOnly != "" {
|
||||
if checkOnlyModules := ctx.Config().Getenv("ANDROID_LINT_CHECK_EXTRA_MODULES"); checkOnlyModules != "" {
|
||||
extraCheckModules = strings.Split(checkOnlyModules, ",")
|
||||
}
|
||||
if extraCheckModulesEnv := ctx.Config().Getenv("ANDROID_LINT_CHECK_EXTRA_MODULES"); extraCheckModulesEnv != "" {
|
||||
extraCheckModules = append(extraCheckModules, strings.Split(extraCheckModulesEnv, ",")...)
|
||||
}
|
||||
|
||||
ctx.AddFarVariationDependencies(ctx.Config().BuildOSCommonTarget.Variations(),
|
||||
|
|
Loading…
Reference in a new issue