Snap for 12085179 from 8062fbd55b92f21bfae9671aa1e8e9a0c100780e to 24Q4-release
Change-Id: Ia5a0e7d3d4a3f8ce63479d5a7865cc9a522ecf63
diff --git a/device-oriole.mk b/device-oriole.mk
index 4dbe602..a91973d 100644
--- a/device-oriole.mk
+++ b/device-oriole.mk
@@ -193,8 +193,15 @@
endif
# Increment the SVN for any official public releases
+ifdef RELEASE_SVN_ORIOLE
+TARGET_SVN ?= $(RELEASE_SVN_ORIOLE)
+else
+# Set this for older releases that don't use build flag
+TARGET_SVN ?= 84
+endif
+
PRODUCT_VENDOR_PROPERTIES += \
- ro.vendor.build.svn=84
+ ro.vendor.build.svn=$(TARGET_SVN)
# Set support hide display cutout feature
PRODUCT_PRODUCT_PROPERTIES += \
diff --git a/device-raven.mk b/device-raven.mk
index 0c0cdda..ceba2f7 100644
--- a/device-raven.mk
+++ b/device-raven.mk
@@ -197,8 +197,15 @@
endif
# Increment the SVN for any official public releases
+ifdef RELEASE_SVN_RAVEN
+TARGET_SVN ?= $(RELEASE_SVN_RAVEN)
+else
+# Set this for older releases that don't use build flag
+TARGET_SVN ?= 84
+endif
+
PRODUCT_VENDOR_PROPERTIES += \
- ro.vendor.build.svn=84
+ ro.vendor.build.svn=$(TARGET_SVN)
# Set support hide display cutout feature
PRODUCT_PRODUCT_PROPERTIES += \