Temporarily bypass apex availability check for /product apexes with a
specific prefix
Bug: 361501627
Test: m nothing --no-skip-soong-tests
Change-Id: Ifb855bed3514d27ecccddb5cd986537c628683b1
diff --git a/apex/apex.go b/apex/apex.go
index d5776b5..3850ee1 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -2785,6 +2785,12 @@
return
}
+ // Temporarily bypass /product APEXes with a specific prefix.
+ // TODO: b/352818241 - Remove this after APEX availability is enforced for /product APEXes.
+ if a.ProductSpecific() && strings.HasPrefix(a.ApexVariationName(), "com.sdv.") {
+ return
+ }
+
// Coverage build adds additional dependencies for the coverage-only runtime libraries.
// Requiring them and their transitive depencies with apex_available is not right
// because they just add noise.