build: Move version & legal properties to PRODUCT_SYSTEM_PROPERTIES

ADDITIONAL_SYSTEM_PROPERTIES is being deprecated.
No functional changes.

Change-Id: I01fd45edcc6c700540d3b7352fc466e65677a44e
This commit is contained in:
Michael Bestas 2024-09-12 03:51:01 +03:00 committed by Bartłomiej Rudecki
parent 310ade8551
commit ce8ff0da83
Signed by: przekichane
GPG key ID: 751F23C6F014EF76
2 changed files with 8 additions and 8 deletions

View file

@ -1,13 +1,5 @@
# Build fingerprint
ifneq ($(BUILD_FINGERPRINT),) ifneq ($(BUILD_FINGERPRINT),)
ADDITIONAL_SYSTEM_PROPERTIES += \ ADDITIONAL_SYSTEM_PROPERTIES += \
ro.build.fingerprint=$(BUILD_FINGERPRINT) ro.build.fingerprint=$(BUILD_FINGERPRINT)
endif endif
# tequilaOS System Version
ADDITIONAL_SYSTEM_PROPERTIES += \
ro.tequila.version=$(TEQUILA_VERSION) \
ro.tequila.releasetype=$(TEQUILA_BUILDTYPE) \
ro.tequila.build.version=$(TEQUILA_PLATFORM_VERSION) \
ro.tequila.display.version=$(TEQUILA_DISPLAY_VERSION)
ro.modversion=$(TEQUILA_VERSION) \

View file

@ -14,3 +14,11 @@ TEQUILA_VERSION := $(TEQUILA_PLATFORM_VERSION)-$(TEQUILA_VERSION_SUFFIX)-$(TEQUI
# Display version # Display version
TEQUILA_DISPLAY_VERSION := $(TEQUILA_PLATFORM_VERSION)-$(TEQUILA_VERSION_SUFFIX) TEQUILA_DISPLAY_VERSION := $(TEQUILA_PLATFORM_VERSION)-$(TEQUILA_VERSION_SUFFIX)
# tequilaOS version properties
PRODUCT_SYSTEM_PROPERTIES += \
ro.tequila.version=$(TEQUILA_VERSION) \
ro.tequila.display.version=$(TEUQILA_DISPLAY_VERSION) \
ro.tequila.build.version=$(TEQUILA_PLATFORM_VERSION) \
ro.tequila.releasetype=$(TEQUILA_BUILDTYPE) \
ro.modversion=$(TEQUILA_VERSION)