From 874273545b58747a617cf418dd93cb1902d7de89 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 25 Sep 2024 15:41:19 -0700 Subject: Remove top down strict updatability checks The enforce_strict_updatability_linting and apex_strict_updatability_lint are some of the last top down mutators, and removing them will help with incremental analysis. Both mutators are used to propagate a flag to transitive java dependencies that causes them to add extra checks to their lint rules to require that baselines not include any skipped NewApi checks. Instead of modifying dependencies to check the baselines, propagate the baselines up to the modules that are requesting the checks, and perform the checks on all transitive baselines there. Bug: 367784740 Test: TestJavaLintStrictUpdatabilityLinting Test: TestApexStrictUpdtabilityLint Flag: EXEMPT refactor Change-Id: Ief2e3b26d745da61f13e621d635a5879d9c56779 --- java/testing.go | 1 - 1 file changed, 1 deletion(-) (limited to 'java/testing.go') diff --git a/java/testing.go b/java/testing.go index 6cc9fd125..d5a19e9d2 100644 --- a/java/testing.go +++ b/java/testing.go @@ -388,7 +388,6 @@ func registerRequiredBuildComponentsForTest(ctx android.RegistrationContext) { RegisterStubsBuildComponents(ctx) RegisterSystemModulesBuildComponents(ctx) registerSystemserverClasspathBuildComponents(ctx) - registerLintBuildComponents(ctx) android.RegisterApexContributionsBuildComponents(ctx) } -- cgit v1.2.3-59-g8ed1b