diff options
| author | Inseob Kim <inseob@google.com> | 2021-04-08 21:13:22 +0900 |
|---|---|---|
| committer | Inseob Kim <inseob@google.com> | 2021-04-29 22:58:17 +0900 |
| commit | 08758f08e9f8c5d53ebdd0511832ad03d6fe52e1 (patch) | |
| tree | bd60fce2fa0f479bf52109c767b012f2dd9f81f4 /sh | |
| parent | 1cc8f451d1a18f48be60af095fe4ae7054949d27 (diff) | |
Add debug ramdisk variant.
A module will be installed to /debug_ramdisk if debug_ramdisk is set to
true.
This is a reland of f84e9c05e2103149162e4a78a68f20c164fbbba2, with a fix
that removes /first_stage_ramdisk.
Bug: 184004542
Test: soong test
Change-Id: I739de63cfec6b0fec5a90f7c4741fc4d884d209c
Diffstat (limited to 'sh')
| -rw-r--r-- | sh/sh_binary.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sh/sh_binary.go b/sh/sh_binary.go index 662338133..42d5680f1 100644 --- a/sh/sh_binary.go +++ b/sh/sh_binary.go @@ -210,6 +210,10 @@ func (s *ShBinary) VendorRamdiskVariantNeeded(ctx android.BaseModuleContext) boo return proptools.Bool(s.properties.Vendor_ramdisk_available) || s.ModuleBase.InstallInVendorRamdisk() } +func (s *ShBinary) DebugRamdiskVariantNeeded(ctx android.BaseModuleContext) bool { + return false +} + func (s *ShBinary) RecoveryVariantNeeded(ctx android.BaseModuleContext) bool { return proptools.Bool(s.properties.Recovery_available) || s.ModuleBase.InstallInRecovery() } |
