summaryrefslogtreecommitdiff
path: root/apex/prebuilt.go
diff options
context:
space:
mode:
author Justin Yun <justinyun@google.com> 2024-06-12 21:32:10 +0900
committer Justin Yun <justinyun@google.com> 2024-06-13 12:37:04 +0900
commit613bdc5b646629a461bf1d14647209b9f4c572cd (patch)
tree4471f0f82c9505a8421c2dfc7e73fa56db6cd509 /apex/prebuilt.go
parent22c8aca89318c722b3cab55c39b45e3d7b70be3e (diff)
Call PackageFile for dexpreopt files of APEX bundles.
Soong generates AndroidMk modules and Make installs the required dexpreopt files for APEX bundles. This dependency is not tracked by the soong and missing from the soong filesystem. Call PackageFile for the dexpreopt files of APEX bundles to install the files in the soong-built system image. Bug: 346439786 Test: lunch aosp_cf_x86_64_phone-trunk_staging-userdebug \ && m aosp_cf_system_x86_64 Change-Id: I6af4afe5b3183c89bf687ac779007b87e1d7e948
Diffstat (limited to 'apex/prebuilt.go')
-rw-r--r--apex/prebuilt.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/apex/prebuilt.go b/apex/prebuilt.go
index 9ad5159b5..d91943fdf 100644
--- a/apex/prebuilt.go
+++ b/apex/prebuilt.go
@@ -197,6 +197,7 @@ func (p *prebuiltCommon) initApexFilesForAndroidMk(ctx android.ModuleContext) {
// If this apex contains a system server jar, then the dexpreopt artifacts should be added as required
for _, install := range p.Dexpreopter.DexpreoptBuiltInstalledForApex() {
p.requiredModuleNames = append(p.requiredModuleNames, install.FullModuleName())
+ install.PackageFile(ctx)
}
}