diff options
author | 2025-02-26 20:13:04 +0000 | |
---|---|---|
committer | 2025-02-26 20:13:04 +0000 | |
commit | e472c1dce304ca1e156e3270d104c552cc46ca2a (patch) | |
tree | fd441c471f4885370cbc3c7a705664dc59984159 /apex | |
parent | 119d38cb12b965ca54c9a761dd71466e9f8f78e2 (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 'apex')
-rw-r--r-- | apex/apex.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apex/apex.go b/apex/apex.go index 4dd3d4cc0..0e4416b4f 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -1849,7 +1849,7 @@ func (a *apexBundle) depVisitor(vctx *visitorContext, ctx android.ModuleContext, return false } depName := ctx.OtherModuleName(child) - if ctx.EqualModules(parent, ctx.Module()) { + if android.EqualModules(parent, ctx.Module()) { switch depTag { case sharedLibTag, jniLibTag: isJniLib := depTag == jniLibTag @@ -2891,7 +2891,7 @@ func (a *apexBundle) verifyNativeImplementationLibs(ctx android.ModuleContext) { tag := ctx.OtherModuleDependencyTag(child) - if ctx.EqualModules(parent, ctx.Module()) { + if android.EqualModules(parent, ctx.Module()) { if !checkApexTag(tag) { return false } |