summaryrefslogtreecommitdiff
path: root/apex/apex.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-12-03 23:24:14 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2024-12-03 23:24:14 +0000
commitbd136b3a3b4d15d004af65da899b5eb3004b340d (patch)
tree8a96babaec54cc9d98d092bbea248358ad37ee18 /apex/apex.go
parentb25923d88b4d4e8955afd8c957b2e00f1756308f (diff)
parent7bc5be9e10f236dbe9d6029ba6b922a8d62683e9 (diff)
Merge "Change enforceAppUpdatability to use ModuleProxy." into main am: 7bc5be9e10
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3390009 Change-Id: I34d7108b96767ba617f5fe964aff7683a307eb25 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'apex/apex.go')
-rw-r--r--apex/apex.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/apex.go b/apex/apex.go
index fbb524f2e..ff4a43396 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -2328,7 +2328,7 @@ func (a *apexBundle) enforceAppUpdatability(mctx android.ModuleContext) {
}
if a.Updatable() {
// checking direct deps is sufficient since apex->apk is a direct edge, even when inherited via apex_defaults
- mctx.VisitDirectDeps(func(module android.Module) {
+ mctx.VisitDirectDepsProxy(func(module android.ModuleProxy) {
if appInfo, ok := android.OtherModuleProvider(mctx, module, java.AppInfoProvider); ok {
// ignore android_test_app
if !appInfo.TestHelperApp && !appInfo.Updatable {