Allow uncompress_dex in cts/hostsidetests/compilation.
This folder belongs to ART.
Bug: 377474232
Test: m CtsCompilationTestCases
Change-Id: I913d3746acb1ddf8b39b55f115f5550cd729d75e
diff --git a/android/neverallow.go b/android/neverallow.go
index fdcbe1c..10f78ca 100644
--- a/android/neverallow.go
+++ b/android/neverallow.go
@@ -230,7 +230,7 @@
func createUncompressDexRules() []Rule {
return []Rule{
NeverAllow().
- NotIn("art").
+ NotIn("art", "cts/hostsidetests/compilation").
WithMatcher("uncompress_dex", isSetMatcherInstance).
Because("uncompress_dex is only allowed for certain jars for test in art."),
}