diff options
author | 2025-02-26 14:25:56 +0000 | |
---|---|---|
committer | 2025-02-27 05:16:13 +0000 | |
commit | 5c78fe90da8e0854b6a6c9ff3be7084f4afda3c7 (patch) | |
tree | 272fa6d94463ce548bd2f388d14b94d208fe2600 /apex/apex.go | |
parent | df9e934c75c2faad78e4d666bc98ec814f6b33f2 (diff) |
Handle prebuilt module types in allInstalledModules
Owner in PackagingSpec uses ModuleName, while allInstalledModules uses
mod.Name(). For prebuilt modules without any sources (e.g.
com.android.apex.cts.shim.v1_prebuilt), the former does not contain
prebuilt_, but the latter does contain it. This was causing such modules
to be skipped in the results of allInstalledModules.
This CL fixes it by using ctx.OtherModuleName
Test: verified that com.android.apex.cts.shim.v1_prebuilt is returned by
allInstalledModules of aosp_cf_x86_64_phone
Change-Id: Id87e8cf782a94c48245385c1837960eee803c619
Diffstat (limited to 'apex/apex.go')
0 files changed, 0 insertions, 0 deletions