summaryrefslogtreecommitdiff
path: root/java/testing.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-09-06 16:19:41 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-09-06 16:19:41 +0000
commit399ff4019d5d13a65d9dc563b7d6b0ac5b8991db (patch)
tree8fb5fec69d7a2c52f38ecf2e560408ededda72fc /java/testing.go
parentfae5ec8bbca887066716029a4923c110d819c958 (diff)
parentc9b4f6b502ec2029196d658d06eabdf1dc555770 (diff)
Merge "Use transitive header jars in classpaths" into main
Diffstat (limited to 'java/testing.go')
-rw-r--r--java/testing.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/testing.go b/java/testing.go
index 03dcee667..e31e0d2bb 100644
--- a/java/testing.go
+++ b/java/testing.go
@@ -581,6 +581,7 @@ func gatherRequiredDepsForTest() string {
name: "%[1]s-lib",
sdk_version: "none",
system_modules: "none",
+ srcs: ["a.java"],
}
`, extra)
}
@@ -780,3 +781,5 @@ func FixtureSetBootImageInstallDirOnDevice(name string, installDir string) andro
config.installDir = installDir
})
}
+
+var PrepareForTestWithTransitiveClasspathEnabled = android.PrepareForTestWithBuildFlag("RELEASE_USE_TRANSITIVE_JARS_IN_CLASSPATH", "true")