summaryrefslogtreecommitdiff
path: root/android/config.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-11-01 18:33:57 +0000
committer Spandan Das <spandandas@google.com> 2024-11-01 21:00:01 +0000
commitc57171660c033d587510b8bfd1781c95f27fe45f (patch)
tree5bf817b0e571faf8097c2c45b2552991a073f0eb /android/config.go
parentb6d77bf6b7efd9850aa5587a805a173e143ee5cf (diff)
Autogenerate a soong module to build odm.img
Test: With https://r.android.com/3326400, notice files are the only diffs for AOSP CF odm.img Bug: 376755916 Change-Id: I847f0dc8317d9693de39fed19aeac4e7f8a70152
Diffstat (limited to 'android/config.go')
-rw-r--r--android/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go
index 8c4b5cd3d..616385a62 100644
--- a/android/config.go
+++ b/android/config.go
@@ -1549,6 +1549,10 @@ func (c *deviceConfig) OdmPath() string {
return "odm"
}
+func (c *deviceConfig) BuildingOdmImage() bool {
+ return proptools.Bool(c.config.productVariables.BuildingOdmImage)
+}
+
func (c *deviceConfig) ProductPath() string {
if c.config.productVariables.ProductPath != nil {
return *c.config.productVariables.ProductPath