From c57171660c033d587510b8bfd1781c95f27fe45f Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Fri, 1 Nov 2024 18:33:57 +0000 Subject: Autogenerate a soong module to build odm.img Test: With https://r.android.com/3326400, notice files are the only diffs for AOSP CF odm.img Bug: 376755916 Change-Id: I847f0dc8317d9693de39fed19aeac4e7f8a70152 --- filesystem/android_device.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'filesystem/android_device.go') diff --git a/filesystem/android_device.go b/filesystem/android_device.go index 68e60532e..9071272c1 100644 --- a/filesystem/android_device.go +++ b/filesystem/android_device.go @@ -32,6 +32,8 @@ type PartitionNameProperties struct { Product_partition_name *string // Name of the Vendor partition filesystem module Vendor_partition_name *string + // Name of the Odm partition filesystem module + Odm_partition_name *string } type androidDevice struct { @@ -66,6 +68,7 @@ func (a *androidDevice) DepsMutator(ctx android.BottomUpMutatorContext) { addDependencyIfDefined(a.partitionProps.System_ext_partition_name) addDependencyIfDefined(a.partitionProps.Product_partition_name) addDependencyIfDefined(a.partitionProps.Vendor_partition_name) + addDependencyIfDefined(a.partitionProps.Odm_partition_name) } func (a *androidDevice) GenerateAndroidBuildActions(ctx android.ModuleContext) { -- cgit v1.2.3-59-g8ed1b