diff options
author | 2025-03-18 15:22:47 -0700 | |
---|---|---|
committer | 2025-03-18 15:22:47 -0700 | |
commit | 92d29690f16cdbba244b523c9110cb9af999d22e (patch) | |
tree | b47d1a2d2fa7273fb5ae4a29da43b725fd84836c /filesystem/android_device.go | |
parent | 772924a7a7cc9378777ca3fd1d8752d15aec8acc (diff) | |
parent | 62eacaeb4ebf5e9b60590a3cb1a3b90533aadd96 (diff) |
Merge "Add vintf info and userdata size to Soong's misc_info.txt" into main
Diffstat (limited to 'filesystem/android_device.go')
-rw-r--r-- | filesystem/android_device.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/filesystem/android_device.go b/filesystem/android_device.go index cb54f783e..443e80e67 100644 --- a/filesystem/android_device.go +++ b/filesystem/android_device.go @@ -819,6 +819,14 @@ func (a *androidDevice) addMiscInfo(ctx android.ModuleContext) android.Path { // TODO: Add support for TARGET_RECOVERY_FSTYPE_MOUNT_OPTIONS which can be used to override the default builder.Command().Textf("echo recovery_mount_options=%s >> %s", defaultTargetRecoveryFstypeMountOptions, miscInfo) + // vintf information + if proptools.Bool(ctx.Config().ProductVariables().Enforce_vintf_manifest) { + builder.Command().Textf("echo vintf_enforce=true >> %s", miscInfo) + } + if len(ctx.Config().DeviceManifestFiles()) > 0 { + builder.Command().Textf("echo vintf_include_empty_vendor_sku=true >> %s", miscInfo) + } + if a.partitionProps.Recovery_partition_name == nil { builder.Command().Textf("echo no_recovery=true >> %s", miscInfo) } |