From dc64ebbb620e27b5efda7f7814c3f795efaec58b Mon Sep 17 00:00:00 2001 From: Lokesh Kumar Goel Date: Wed, 10 Jul 2024 21:25:47 +0000 Subject: [PATCH] caimito: Use build_flags for SVN Flag: build.RELEASE_SVN_CAIMAN Flag: build.RELEASE_SVN_KOMODO Flag: build.RELEASE_SVN_TOKAY Bug: 332726030 Change-Id: I8e2a835fd2887c4e77d95bf0a3bc63a25161b080 --- device-caiman.mk | 9 ++++++++- device-komodo.mk | 9 ++++++++- device-tokay.mk | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/device-caiman.mk b/device-caiman.mk index 89ea6cfc..0efba31f 100644 --- a/device-caiman.mk +++ b/device-caiman.mk @@ -69,8 +69,15 @@ include device/google/gs-common/modem/radio_ext/radio_ext.mk include device/google/gs-common/pixelsupport/pixelsupport.mk # Increment the SVN for any official public releases +ifdef RELEASE_SVN_CAIMAN +TARGET_SVN ?= $(RELEASE_SVN_CAIMAN) +else +# Set this for older releases that don't use build flag +TARGET_SVN ?= 03 +endif + PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=3 + ro.vendor.build.svn=$(TARGET_SVN) # go/lyric-soong-variables $(call soong_config_set,lyric,camera_hardware,caiman) diff --git a/device-komodo.mk b/device-komodo.mk index b81efb18..6797e88c 100644 --- a/device-komodo.mk +++ b/device-komodo.mk @@ -69,8 +69,15 @@ include device/google/gs-common/modem/radio_ext/radio_ext.mk include device/google/gs-common/pixelsupport/pixelsupport.mk # Increment the SVN for any official public releases +ifdef RELEASE_SVN_KOMODO +TARGET_SVN ?= $(RELEASE_SVN_KOMODO) +else +# Set this for older releases that don't use build flag +TARGET_SVN ?= 03 +endif + PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=3 + ro.vendor.build.svn=$(TARGET_SVN) # go/lyric-soong-variables $(call soong_config_set,lyric,camera_hardware,komodo) diff --git a/device-tokay.mk b/device-tokay.mk index 08555a72..90433f16 100644 --- a/device-tokay.mk +++ b/device-tokay.mk @@ -59,8 +59,15 @@ include device/google/gs-common/modem/radio_ext/radio_ext.mk include device/google/gs-common/pixelsupport/pixelsupport.mk # Increment the SVN for any official public releases +ifdef RELEASE_SVN_TOKAY +TARGET_SVN ?= $(RELEASE_SVN_TOKAY) +else +# Set this for older releases that don't use build flag +TARGET_SVN ?= 03 +endif + PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=3 + ro.vendor.build.svn=$(TARGET_SVN) # go/lyric-soong-variables $(call soong_config_set,lyric,camera_hardware,tokay)