summaryrefslogtreecommitdiff
path: root/java/testing.go
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2024-08-12 22:47:01 +0000
committer Jihoon Kang <jihoonkang@google.com> 2024-08-16 22:57:57 +0000
commit0f3b1a7288cc8884974ea84291137ac7626aa6f3 (patch)
tree2ddeea4688e774cc56aaf13e091478b58164b11d /java/testing.go
parent224ea08ee6fffa02ba167f463392258f3200ac47 (diff)
Define unstable container
Unstable container marks modules that are static reverse dependencies of "framework-minus-apex". These modules contain unstable implementation details of the platform, and should not be accessed by the CTS tests. Test: m nothing Bug: 338660802 Change-Id: Ia0e1b3070f0f7b2c1b9c27306323e2428d9722ca
Diffstat (limited to 'java/testing.go')
-rw-r--r--java/testing.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/testing.go b/java/testing.go
index e1bf5376e..0e85022ce 100644
--- a/java/testing.go
+++ b/java/testing.go
@@ -542,6 +542,16 @@ func gatherRequiredDepsForTest() string {
},
compile_dex: true,
}
+ java_library {
+ name: "framework-minus-apex",
+ srcs: ["a.java"],
+ sdk_version: "none",
+ system_modules: "stable-core-platform-api-stubs-system-modules",
+ aidl: {
+ export_include_dirs: ["framework/aidl"],
+ },
+ compile_dex: true,
+ }
android_app {
name: "framework-res",