summaryrefslogtreecommitdiff
path: root/java/platform_bootclasspath.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-09-25 16:43:32 -0700
committer Colin Cross <ccross@android.com> 2024-09-25 20:22:33 -0700
commit18cb570c4c7676fc47fca26bc1e4c494da29c8bf (patch)
treeba55d561dc150178faf758ae1299d64c89050d6c /java/platform_bootclasspath.go
parent8bf14fcb89c300143dda1b8b5ce6ff8d28583109 (diff)
Only propgate strict updatability linting to modules that are in the apex
apex_strict_updatability_lint was propagating strict updatability linting much further than necessary by following all transitive dependencies, not just static dependencies of modules that are in the apex. This caused unnecessary lint checks, requiring the libcore exception in b/208656169 and the allowlist in b/215736885. Use apex.WalkPayloadDeps instead, which tracks whether the dependency is inside the same apex or not, and stop propagating the flag when a module outside the apex is reached. Bug: 208656169 Bug: 215736885 Test: m lint-check Flag: EXEMPT refactor Change-Id: I8d801ff1414e0bdb5997d29ab453488d3ab76d64
Diffstat (limited to 'java/platform_bootclasspath.go')
0 files changed, 0 insertions, 0 deletions