diff --git a/android/neverallow.go b/android/neverallow.go index aff706ca3..48efb4f9a 100644 --- a/android/neverallow.go +++ b/android/neverallow.go @@ -64,6 +64,8 @@ func createIncludeDirsRules() []Rule { // The list of paths that cannot be referenced using include_dirs paths := []string{ "art", + "art/libnativebridge", + "art/libnativeloader", "libcore", "libnativehelper", "external/apache-harmony", @@ -75,8 +77,6 @@ func createIncludeDirsRules() []Rule { "external/okhttp", "external/vixl", "external/wycheproof", - "system/core/libnativebridge", - "system/core/libnativehelper", } // Create a composite matcher that will match if the value starts with any of the restricted