diff options
author | 2021-04-08 21:13:22 +0900 | |
---|---|---|
committer | 2021-04-15 00:56:30 +0000 | |
commit | f84e9c05e2103149162e4a78a68f20c164fbbba2 (patch) | |
tree | dc16f788df5498240fbe3610a124bb5eafdf6422 /sh/sh_binary.go | |
parent | d9580b84a2207a9cb552bd4595464459d9a60ba2 (diff) |
Add debug ramdisk variant
A module will be installed to debug_ramdisk (or
debug_ramdisk/first_stage_ramdisk if recovery as boot is true) if
debug_ramdisk is set to true.
Bug: 184004542
Test: soong test
Change-Id: Ic5a4d27407e506fffa462de2149e0785f11b2ac7
Diffstat (limited to 'sh/sh_binary.go')
-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() } |