summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2023-09-28 16:46:30 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-09-28 16:46:30 +0000
commit9231132099ffa64063c6fdda440293f0bccf0a48 (patch)
tree6dacaa097f108a7c1e8511de1ef9b10e6cfe0f73 /java/java.go
parent6ed1e0fd590f8866e3933c20aa85f168c5b62869 (diff)
parent0e73f9ee6db05504a5a586b931645a3da51ed9a8 (diff)
Merge "Collect transitive source files for java modules" into main
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index bf692be24..cac49a2c5 100644
--- a/java/java.go
+++ b/java/java.go
@@ -278,6 +278,9 @@ type JavaInfo struct {
// SrcJarDeps is a list of paths to depend on when packaging the sources of this module.
SrcJarDeps android.Paths
+ // The source files of this module and all its transitive static dependencies.
+ TransitiveSrcFiles *android.DepSet[android.Path]
+
// ExportedPlugins is a list of paths that should be used as annotation processors for any
// module that depends on this module.
ExportedPlugins android.Paths