summaryrefslogtreecommitdiff
path: root/java/testing.go
diff options
context:
space:
mode:
author Satish Yalla <satishy@google.com> 2024-08-28 05:52:08 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2024-08-28 05:52:08 +0000
commitb2407feae1fe100c42eaa601cfeaa27a655028c5 (patch)
treeb69ed9f070c382ff237b9abcb475dc43eb4c81ec /java/testing.go
parent30f37956881f63911aba5e7765fdbe6314313512 (diff)
parentf2d6e5004f1a1fc3eadef6f90a2bbb632e8f2430 (diff)
Merge "Revert "Implement detecting container violations."" into main am: f2d6e5004f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3244001 Change-Id: Ibfcf7b1965a52402917a32a203bf55cb82d1626b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'java/testing.go')
-rw-r--r--java/testing.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/java/testing.go b/java/testing.go
index 03dcee667..0e85022ce 100644
--- a/java/testing.go
+++ b/java/testing.go
@@ -184,10 +184,6 @@ var PrepareForTestWithJacocoInstrumentation = android.GroupFixturePreparers(
host_supported: true,
srcs: ["Test.java"],
sdk_version: "current",
- apex_available: [
- "//apex_available:anyapex",
- "//apex_available:platform",
- ],
}
`)),
)
@@ -412,6 +408,7 @@ func gatherRequiredDepsForTest() string {
"core.current.stubs",
"legacy.core.platform.api.stubs",
"stable.core.platform.api.stubs",
+
"android_stubs_current_exportable",
"android_system_stubs_current_exportable",
"android_test_stubs_current_exportable",
@@ -419,11 +416,13 @@ func gatherRequiredDepsForTest() string {
"android_system_server_stubs_current_exportable",
"core.current.stubs.exportable",
"legacy.core.platform.api.stubs.exportable",
+
"kotlin-stdlib",
"kotlin-stdlib-jdk7",
"kotlin-stdlib-jdk8",
"kotlin-annotations",
"stub-annotations",
+
"aconfig-annotations-lib",
"unsupportedappusage",
}
@@ -436,7 +435,6 @@ func gatherRequiredDepsForTest() string {
sdk_version: "none",
system_modules: "stable-core-platform-api-stubs-system-modules",
compile_dex: true,
- is_stubs_module: true,
}
`, extra)
}