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
|
extraCheckModules := l.properties.Lint.Extra_check_modules
|
||||||
|
|
||||||
if checkOnly := ctx.Config().Getenv("ANDROID_LINT_CHECK"); checkOnly != "" {
|
if extraCheckModulesEnv := ctx.Config().Getenv("ANDROID_LINT_CHECK_EXTRA_MODULES"); extraCheckModulesEnv != "" {
|
||||||
if checkOnlyModules := ctx.Config().Getenv("ANDROID_LINT_CHECK_EXTRA_MODULES"); checkOnlyModules != "" {
|
extraCheckModules = append(extraCheckModules, strings.Split(extraCheckModulesEnv, ",")...)
|
||||||
extraCheckModules = strings.Split(checkOnlyModules, ",")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.AddFarVariationDependencies(ctx.Config().BuildOSCommonTarget.Variations(),
|
ctx.AddFarVariationDependencies(ctx.Config().BuildOSCommonTarget.Variations(),
|
||||||
|
|
Loading…
Reference in a new issue