瀏覽代碼

lynx: Use build_flags for SVN

Flag: build.RELEASE_SVN_LYNX
Bug: 332726030
Change-Id: Id2c31d9b6b8db9d7948a7a1174be141e3b913171
Lokesh Kumar Goel 11 月之前
父節點
當前提交
a6d2650cbf
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      device-lynx.mk

+ 8 - 1
device-lynx.mk

@@ -223,8 +223,15 @@ PRODUCT_VENDOR_PROPERTIES += \
 	vendor.zram.size=3g
 	vendor.zram.size=3g
 
 
 # Increment the SVN for any official public releases
 # Increment the SVN for any official public releases
+ifdef RELEASE_SVN_LYNX
+TARGET_SVN ?= $(RELEASE_SVN_LYNX)
+else
+# Set this for older releases that don't use build flag
+TARGET_SVN ?= 44
+endif
+
 PRODUCT_VENDOR_PROPERTIES += \
 PRODUCT_VENDOR_PROPERTIES += \
-    ro.vendor.build.svn=44
+    ro.vendor.build.svn=$(TARGET_SVN)
 
 
 # Set support hide display cutout feature
 # Set support hide display cutout feature
 PRODUCT_PRODUCT_PROPERTIES += \
 PRODUCT_PRODUCT_PROPERTIES += \