generate: Fix feedback loop in override resolution
This commit is contained in:
parent
830d5e939e
commit
f500075648
1 changed files with 3 additions and 0 deletions
|
@ -89,6 +89,9 @@ export async function resolveOverrides(
|
||||||
) {
|
) {
|
||||||
let targetPrefix = `out/target/product/${config.device.name}/`
|
let targetPrefix = `out/target/product/${config.device.name}/`
|
||||||
let targetPaths = Array.from(namedEntries.keys())
|
let targetPaths = Array.from(namedEntries.keys())
|
||||||
|
// Never use existing modules for dep files (e.g. generated in prep) to avoid feedback loop
|
||||||
|
.filter(p => !filterValue(config.filters.dep_files, p))
|
||||||
|
// Convert to installed paths
|
||||||
.map(cPartPath => `${targetPrefix}${cPartPath}`)
|
.map(cPartPath => `${targetPrefix}${cPartPath}`)
|
||||||
|
|
||||||
let modulesMap = customState.moduleInfo
|
let modulesMap = customState.moduleInfo
|
||||||
|
|
Loading…
Reference in a new issue