summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Zi Wang <mrziwang@google.com> 2024-07-11 01:24:10 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-07-11 01:24:10 +0000
commit256772f02c96cedbad1d1d135f55f48b33bf9afc (patch)
treead8cf69cd4817730cc2ffe72b25ee8091c50d3bc /java/java.go
parent05f3927c090e32ab2ff4260f1e2d847dfef13a9a (diff)
parent9f7b9f4a9ab77d1816e8ae30ac8339e335fb7e92 (diff)
Merge "Use OutputFilesProvider on java modules" into main
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index e4abbcd28..5fdb4b871 100644
--- a/java/java.go
+++ b/java/java.go
@@ -977,6 +977,8 @@ func (j *Library) GenerateAndroidBuildActions(ctx android.ModuleContext) {
TestOnly: Bool(j.sourceProperties.Test_only),
TopLevelTarget: j.sourceProperties.Top_level_test_target,
})
+
+ setOutputFiles(ctx, j.Module)
}
func (j *Library) setInstallRules(ctx android.ModuleContext, installModuleName string) {
@@ -1836,6 +1838,8 @@ func (j *Binary) GenerateAndroidBuildActions(ctx android.ModuleContext) {
// libraries. This is verified by TestBinary.
j.binaryFile = ctx.InstallExecutable(android.PathForModuleInstall(ctx, "bin"),
ctx.ModuleName()+ext, j.wrapperFile)
+
+ setOutputFiles(ctx, j.Library.Module)
}
}