raviole: Use build_flags for SVN
Flag: build.RELEASE_SVN_ORIOLE
Flag: build.RELEASE_SVN_RAVEN
Bug: 332726030
Change-Id: I60035ec95cf07e8e992981a61738aa6f0a6d22ef
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 += \