diff --git a/android/neverallow.go b/android/neverallow.go index 9e075b719..be3f7123b 100644 --- a/android/neverallow.go +++ b/android/neverallow.go @@ -187,6 +187,10 @@ func createCcSdkVariantRules() []Rule { // derive_sdk_prefer32 suppress the platform installation rules, but fails when // the APEX modules contain the SDK variant and the platform variant still exists. "frameworks/base/apex/sdkextensions/derive_sdk", + // These are for apps and shouldn't be used by non-SDK variant modules. + "prebuilts/ndk", + "tools/test/graphicsbenchmark/apps/sample_app", + "tools/test/graphicsbenchmark/functional_tests/java", } platformVariantPropertiesWhitelist := []string{