summaryrefslogtreecommitdiff
path: root/android/config.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-11-01 22:34:36 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2024-11-01 22:34:36 +0000
commit9fe7eaff1090bcfc0af2b94e92de0cdeeea61b10 (patch)
treec2ea15956df2b61b96d376c35f9d38485d748864 /android/config.go
parentc1a82d9ea0963c3bc41753994c1c336748f975b5 (diff)
parent9f06a4fca3b9d5dbf8c68692e3701a8e1aeb6d29 (diff)
Merge "Autogenerate a soong module to build odm.img" into main am: 7e0fdef242 am: 9f06a4fca3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3328349 Change-Id: I008df4f6e1fb4742c2301b020fa6e3a80f6343fb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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 1ed6871f4..16d77db6b 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