make: Skip empty prop sets
This commit is contained in:
parent
aa36aa6f13
commit
6f88c06512
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,10 @@ export function serializeProductMakefile(mk: ProductMakefile) {
|
|||
|
||||
if (mk.props != undefined) {
|
||||
for (let [partition, props] of mk.props.entries()) {
|
||||
if (props.size == 0) {
|
||||
continue
|
||||
}
|
||||
|
||||
let propLines = Array.from(props.entries()).map(([k, v]) => `${k}=${v}`)
|
||||
|
||||
blocks.push(`PRODUCT_${partition.toUpperCase()}_PROPERTIES += \\
|
||||
|
|
Loading…
Reference in a new issue