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:
parent
5daba7432c
commit
c099116fb0
1 changed files with 4 additions and 0 deletions
|
|
@ -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())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue