diff options
author | 2024-11-26 21:50:55 +0000 | |
---|---|---|
committer | 2024-11-26 21:53:28 +0000 | |
commit | 30bf8f6c532cb98cee2a0d472e650749e5dec29f (patch) | |
tree | 849301bc09fa89eaeee9b77bc63459e463d073a4 /android/module.go | |
parent | 4d886189b0bb45f898a86e953f0f5980f2e2faaa (diff) |
Add vendor_ramdisk support in PartitionTag
To allow vendor_ramdisk modules to be recognizeable by partition tag.
Test: m soong_generated_vendor_ramdisk_filesystem_test
Test: CI
Bug: 381104942
Change-Id: I954772fc7ec6411191ac8a6e364f67d76814ebfe
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/module.go b/android/module.go index 3bf4f0c9e..2f6f613b0 100644 --- a/android/module.go +++ b/android/module.go @@ -1384,6 +1384,8 @@ func (m *ModuleBase) PartitionTag(config DeviceConfig) string { } } else if m.InstallInRamdisk() { partition = "ramdisk" + } else if m.InstallInVendorRamdisk() { + partition = "vendor_ramdisk" } return partition } |