Add vendor_manifest.xml to createFsGenState

Given that the module cannot be unconditionally added to
PRODUCT_PACKAGES.

Test: m soong_generated_vendor_filesystem_test
Change-Id: Ide8f330a2a94290adb187468e3b5b18938fafe7c
This commit is contained in:
Jihoon Kang 2025-03-12 22:35:21 +00:00 committed by Michael Bestas
parent 5daba7432c
commit c099116fb0
No known key found for this signature in database

View file

@ -162,6 +162,10 @@ func createFsGenState(ctx android.LoadHookContext, generatedPrebuiltEtcModuleNam
(*fsGenState.fsDeps["product"])["system_other_avbpubkey"] = defaultDepCandidateProps(ctx.Config())
}
if len(ctx.Config().DeviceManifestFiles()) > 0 {
(*fsGenState.fsDeps["vendor"])["vendor_manifest.xml"] = defaultDepCandidateProps(ctx.Config())
}
// Add common resources `prebuilt_res` module as dep of recovery partition
(*fsGenState.fsDeps["recovery"])[fmt.Sprintf("recovery-resources-common-%s", getDpi(ctx))] = defaultDepCandidateProps(ctx.Config())