generate-full: Fix AB_OTA_PARTITIONS

This commit is contained in:
Danny Lin 2021-11-21 00:09:04 -08:00
parent 3457d6205d
commit e29ddb5baf

View file

@ -197,7 +197,6 @@ export default class GenerateFull extends Command {
build.deviceMakefile = {
props: missingProps,
fingerprint: fingerprint,
...(missingOtaParts.length > 0 && { abOtaPartitions: missingOtaParts }),
vintfManifestPaths: vintfManifestPaths,
...build.deviceMakefile,
}
@ -205,6 +204,7 @@ export default class GenerateFull extends Command {
// Add board parts
build.boardMakefile = {
secontextResolutions: ctxResolutions,
...(missingOtaParts.length > 0 && { abOtaPartitions: missingOtaParts }),
...(fwPaths != null && { boardInfo: `${dirs.firmware}/${ANDROID_INFO}` }),
}