summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dan Albert <danalbert@google.com> 2020-04-20 14:46:47 -0700
committer Orion Hodson <oth@google.com> 2020-05-27 14:15:57 +0100
commite2054a9f9dc2de6dcf41e20cc46d068ac72ad5a7 (patch)
tree4b346482c4ff71780b0117768e30c9333cc39851
parent54d925e88dfebe4aab0538ab28a5ddae5e5a5a0b (diff)
Add some app modules to the allowed whitelist.
Test: treehugger Bug: 152482542 Change-Id: Ia7adf690cd6dca1408ae0a340860eaeae6c1d4b4 Merged-In: Ia7adf690cd6dca1408ae0a340860eaeae6c1d4b4 (cherry picked from commit 6b6d387a7590d78604ed57fb5a932b5cc3285a88)
-rw-r--r--android/neverallow.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/neverallow.go b/android/neverallow.go
index f9fc03caa..63946a7ed 100644
--- a/android/neverallow.go
+++ b/android/neverallow.go
@@ -186,6 +186,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{