diff options
| author | Liana Kazanova <lkazanova@google.com> | 2024-02-05 21:03:22 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2024-02-05 21:03:22 +0000 |
| commit | e357e315a3045bdf349b5f5ab5358af946a9d508 (patch) | |
| tree | b992ebdd45824522e9b268bc3cbe855870f1f5b6 /apex | |
| parent | fb1fa3885d1c79540b9cb392bb890a37f952a96e (diff) | |
| parent | 75dd41b57666ec2ad0179e9416ab2e8005627c86 (diff) | |
Merge "Revert "Print the modules that had strict_updatability_linting set"" into main
Diffstat (limited to 'apex')
| -rw-r--r-- | apex/apex.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apex/apex.go b/apex/apex.go index abab12b35..276ac80d5 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -1104,7 +1104,6 @@ func apexStrictUpdatibilityLintMutator(mctx android.TopDownMutatorContext) { return } if apex, ok := mctx.Module().(*apexBundle); ok && apex.checkStrictUpdatabilityLinting() { - parents := []string{mctx.ModuleName()} mctx.WalkDeps(func(child, parent android.Module) bool { // b/208656169 Do not propagate strict updatability linting to libcore/ // These libs are available on the classpath during compilation @@ -1118,7 +1117,7 @@ func apexStrictUpdatibilityLintMutator(mctx android.TopDownMutatorContext) { return false } if lintable, ok := child.(java.LintDepSetsIntf); ok { - lintable.SetStrictUpdatabilityLinting(parents) + lintable.SetStrictUpdatabilityLinting(true) } // visit transitive deps return true |
