summaryrefslogtreecommitdiff
path: root/android/prebuilt.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-02-28 12:05:20 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-28 12:05:20 -0800
commit58047e846963c84c2784a685d4c2644bd7c80ff6 (patch)
treec3b95847c8582b0d33fe7a6d78eed8c3d7a52e24 /android/prebuilt.go
parent9cbe288fa7eaf56a62c764bfcba35fc550543208 (diff)
parent71f1ea3f81feae294a3031799cd638c38610850e (diff)
Merge changes from topics "EqualModules", "tidyPhonySingleton" into main
* changes: Convert tidyPhonySingleton, jdepsGeneratorSingleton and genNoticeBuildRules to use ModuleProxy. Make EqualModules a free function.
Diffstat (limited to 'android/prebuilt.go')
-rw-r--r--android/prebuilt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/prebuilt.go b/android/prebuilt.go
index 72735991d..4a94c0bcb 100644
--- a/android/prebuilt.go
+++ b/android/prebuilt.go
@@ -412,7 +412,7 @@ func PrebuiltGetPreferred(ctx BaseModuleContext, module Module) Module {
if prebuiltMod != nil {
return false
}
- if ctx.EqualModules(parent, ctx.Module()) {
+ if EqualModules(parent, ctx.Module()) {
// First level: Only recurse if the module is found as a direct dependency.
sourceModDepFound = child == module
return sourceModDepFound