mirror of
https://github.com/Evolution-X-Devices/device_google_raviole
synced 2026-02-01 08:03:20 +00:00
raviole: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR Flag: build.RELEASE_IS_EMR Flag: build.RELEASE_BASE_OS_ORIOLE Flag: build.RELEASE_BASE_OS_RAVEN Bug: 155105803 Change-Id: I79f963805e5f96c05c3c388a4b0b70be30f9ce8a
This commit is contained in:
@@ -203,6 +203,25 @@ endif
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=$(TARGET_SVN)
|
||||
|
||||
# Set device family property for SMR builds
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.device_family=O6R4B9
|
||||
|
||||
# Set build properties for SMR builds
|
||||
ifeq ($(RELEASE_IS_SMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_ORIOLE))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_ORIOLE)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_ORIOLE))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_ORIOLE)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set support hide display cutout feature
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.support_hide_display_cutout=true
|
||||
|
||||
@@ -207,6 +207,25 @@ endif
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=$(TARGET_SVN)
|
||||
|
||||
# Set device family property for SMR
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.device_family=O6R4B9
|
||||
|
||||
# Set build properties for SMR builds
|
||||
ifeq ($(RELEASE_IS_SMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_RAVEN))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_RAVEN)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_RAVEN))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_RAVEN)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set support hide display cutout feature
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.support_hide_display_cutout=true
|
||||
|
||||
Reference in New Issue
Block a user