summaryrefslogtreecommitdiff
path: root/cc/genrule.go
diff options
context:
space:
mode:
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
commit08758f08e9f8c5d53ebdd0511832ad03d6fe52e1 (patch)
treebd60fce2fa0f479bf52109c767b012f2dd9f81f4 /cc/genrule.go
parent1cc8f451d1a18f48be60af095fe4ae7054949d27 (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 'cc/genrule.go')
-rw-r--r--cc/genrule.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/genrule.go b/cc/genrule.go
index ca4fda7e2..82d7205da 100644
--- a/cc/genrule.go
+++ b/cc/genrule.go
@@ -75,6 +75,10 @@ func (g *GenruleExtraProperties) VendorRamdiskVariantNeeded(ctx android.BaseModu
return Bool(g.Vendor_ramdisk_available)
}
+func (g *GenruleExtraProperties) DebugRamdiskVariantNeeded(ctx android.BaseModuleContext) bool {
+ return false
+}
+
func (g *GenruleExtraProperties) RecoveryVariantNeeded(ctx android.BaseModuleContext) bool {
// If the build is using a snapshot, the recovery variant under AOSP directories
// is not needed.