summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-02-26 20:13:04 +0000
committer Yu Liu <yudiliu@google.com> 2025-02-26 20:13:04 +0000
commite472c1dce304ca1e156e3270d104c552cc46ca2a (patch)
treefd441c471f4885370cbc3c7a705664dc59984159 /java
parent119d38cb12b965ca54c9a761dd71466e9f8f78e2 (diff)
Make EqualModules a free function.
Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I7e00f09a15f2857f58bea70bcedc4798630a40bc
Diffstat (limited to 'java')
-rw-r--r--java/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/app.go b/java/app.go
index 827b23526..c2aa8a474 100644
--- a/java/app.go
+++ b/java/app.go
@@ -1175,7 +1175,7 @@ func collectAppDeps(ctx android.ModuleContext, app appDepsInterface,
apkInApex := ctx.Module().(android.ApexModule).NotInPlatform()
childLinkable, _ := android.OtherModuleProvider(ctx, child, cc.LinkableInfoProvider)
parentIsLinkable := false
- if ctx.EqualModules(ctx.Module(), parent) {
+ if android.EqualModules(ctx.Module(), parent) {
parentLinkable, _ := ctx.Module().(cc.LinkableInterface)
parentIsLinkable = parentLinkable != nil
} else {