diff options
author | 2024-02-05 19:37:05 +0000 | |
---|---|---|
committer | 2024-02-05 19:37:05 +0000 | |
commit | 75dd41b57666ec2ad0179e9416ab2e8005627c86 (patch) | |
tree | 3a47dac1e5df56dda16081ca6435dbe24e974b4b /apex/apex.go | |
parent | ada543ed86dc4828cecdb937844c6468c872d3e3 (diff) |
Revert "Print the modules that had strict_updatability_linting set"
This reverts commit ada543ed86dc4828cecdb937844c6468c872d3e3.
Reason for revert: b/323773738
Change-Id: Iaddd35b275392c8d0eb7ce1cc65523467462d7b3
Diffstat (limited to 'apex/apex.go')
-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 |