diff options
Diffstat (limited to 'filesystem')
| -rw-r--r-- | filesystem/vbmeta.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filesystem/vbmeta.go b/filesystem/vbmeta.go index 0c6e7f428..3a9a64daa 100644 --- a/filesystem/vbmeta.go +++ b/filesystem/vbmeta.go @@ -59,7 +59,7 @@ type vbmetaProperties struct { // List of filesystem modules that this vbmeta has descriptors for. The filesystem modules // have to be signed (use_avb: true). - Partitions []string + Partitions proptools.Configurable[[]string] // List of chained partitions that this vbmeta deletages the verification. Chained_partitions []chainedPartitionProperties @@ -110,7 +110,7 @@ type vbmetaDep struct { var vbmetaPartitionDep = vbmetaDep{kind: "partition"} func (v *vbmeta) DepsMutator(ctx android.BottomUpMutatorContext) { - ctx.AddDependency(ctx.Module(), vbmetaPartitionDep, v.properties.Partitions...) + ctx.AddDependency(ctx.Module(), vbmetaPartitionDep, v.properties.Partitions.GetOrDefault(ctx, nil)...) } func (v *vbmeta) installFileName() string { |