diff options
author | Inseob Kim <inseob@google.com> | 2021-04-08 21:13:22 +0900 |
---|---|---|
committer | Inseob Kim <inseob@google.com> | 2021-04-15 00:56:30 +0000 |
commit | f84e9c05e2103149162e4a78a68f20c164fbbba2 (patch) | |
tree | dc16f788df5498240fbe3610a124bb5eafdf6422 /rust | |
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 'rust')
-rw-r--r-- | rust/image.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/image.go b/rust/image.go index 628aca3e4..3afb4a7d5 100644 --- a/rust/image.go +++ b/rust/image.go @@ -35,6 +35,10 @@ func (mod *Module) RamdiskVariantNeeded(android.BaseModuleContext) bool { return mod.InRamdisk() } +func (mod *Module) DebugRamdiskVariantNeeded(ctx android.BaseModuleContext) bool { + return false +} + func (mod *Module) RecoveryVariantNeeded(android.BaseModuleContext) bool { return mod.InRecovery() } |