summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-03-11 16:06:39 -0700
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-03-11 16:06:39 -0700
commit3424918ea1e3693a36871cb293f608014a86b991 (patch)
treec7d48e8cfcd3d59c2c93b9779012dc47ecd39bbb /java/java.go
parent3bdf2fe437137cd60a07096e1b9176776b2b99f8 (diff)
parent93fec2ebe8fa734d0fd06b6358319d44356a078b (diff)
Snap for 13197820 from 93fec2ebe8fa734d0fd06b6358319d44356a078b to 25Q2-release
Change-Id: I0d70c5765f3928091b3fc5b81c61dfa928b83eff
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go
index 215fbbda8..235a27d4c 100644
--- a/java/java.go
+++ b/java/java.go
@@ -2225,7 +2225,7 @@ func (j *Binary) GenerateAndroidBuildActions(ctx android.ModuleContext) {
// install these alongside the java binary.
ctx.VisitDirectDepsProxyWithTag(jniInstallTag, func(jni android.ModuleProxy) {
// Use the BaseModuleName of the dependency (without any prebuilt_ prefix)
- commonInfo, _ := android.OtherModuleProvider(ctx, jni, android.CommonModuleInfoKey)
+ commonInfo, _ := android.OtherModuleProvider(ctx, jni, android.CommonModuleInfoProvider)
j.androidMkNamesOfJniLibs = append(j.androidMkNamesOfJniLibs, commonInfo.BaseModuleName+":"+commonInfo.Target.Arch.ArchType.Bitness())
})
// Check that native libraries are not listed in `required`. Prompt users to use `jni_libs` instead.