From e17f93a19394d0f9a61a0328fc570e356a90df8e Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Thu, 18 Jan 2024 11:25:59 -0800 Subject: [PATCH] Skip strict updatability linting on more apexes strict updatability linting has been disabled for a while now. In the process of re-enabling it, we need to allowlist all the apexes that have violations. Bug: 320698986 Test: Presubmits Change-Id: I96501bc120d8127cb3675ecbee088ea887fabbc1 --- apex/apex.go | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/apex/apex.go b/apex/apex.go index 586990e85..5b0def0d8 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -1152,15 +1152,42 @@ func enforceAppUpdatability(mctx android.TopDownMutatorContext) { // Skip these mainline modules for now var ( skipStrictUpdatabilityLintAllowlist = []string{ + // go/keep-sorted start + "PackageManagerTestApex", + "com.android.adservices", + "com.android.appsearch", "com.android.art", "com.android.art.debug", + "com.android.btservices", + "com.android.cellbroadcast", + "com.android.configinfrastructure", "com.android.conscrypt", + "com.android.extservices", + "com.android.extservices_tplus", + "com.android.healthfitness", + "com.android.ipsec", "com.android.media", - // test apexes + "com.android.mediaprovider", + "com.android.ondevicepersonalization", + "com.android.os.statsd", + "com.android.permission", + "com.android.rkpd", + "com.android.scheduling", + "com.android.tethering", + "com.android.uwb", + "com.android.wifi", "test_com.android.art", + "test_com.android.cellbroadcast", "test_com.android.conscrypt", + "test_com.android.extservices", + "test_com.android.ipsec", "test_com.android.media", + "test_com.android.mediaprovider", + "test_com.android.os.statsd", + "test_com.android.permission", + "test_com.android.wifi", "test_jitzygote_com.android.art", + // go/keep-sorted end } // TODO: b/215736885 Remove this list