raviole: Use build_flags for SVN
Flag: build.RELEASE_SVN_ORIOLE Flag: build.RELEASE_SVN_RAVEN Bug: 332726030 Change-Id: I60035ec95cf07e8e992981a61738aa6f0a6d22ef
This commit is contained in:
parent
6a11d1a9da
commit
8062fbd55b
2 changed files with 16 additions and 2 deletions
|
@ -193,8 +193,15 @@ ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Increment the SVN for any official public releases
|
# 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 += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
ro.vendor.build.svn=84
|
ro.vendor.build.svn=$(TARGET_SVN)
|
||||||
|
|
||||||
# Set support hide display cutout feature
|
# Set support hide display cutout feature
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
|
|
|
@ -197,8 +197,15 @@ ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Increment the SVN for any official public releases
|
# 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 += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
ro.vendor.build.svn=84
|
ro.vendor.build.svn=$(TARGET_SVN)
|
||||||
|
|
||||||
# Set support hide display cutout feature
|
# Set support hide display cutout feature
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue