pantah: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR Flag: build.RELEASE_IS_EMR Flag: build.RELEASE_BASE_OS_CHEETAH Flag: build.RELEASE_BASE_OS_PANTHER Bug: 155105803 Change-Id: Ia43ad62294cedc99e0f63d952dede896fa81e7bb
This commit is contained in:
parent
261c3b3c7a
commit
6e7023436a
2 changed files with 36 additions and 0 deletions
|
@ -344,6 +344,24 @@ endif
|
|||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=$(TARGET_SVN)
|
||||
|
||||
# Set device family property for SMR
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.device_family=P10C10L10
|
||||
|
||||
# Set build properties for SMR builds
|
||||
ifeq ($(RELEASE_IS_SMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_CHEETAH))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_CHEETAH)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_CHEETAH))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_CHEETAH)
|
||||
endif
|
||||
endif
|
||||
# DCK properties based on target
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.gms.dck.eligible_wcc=3 \
|
||||
|
|
|
@ -327,6 +327,24 @@ endif
|
|||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=$(TARGET_SVN)
|
||||
|
||||
# Set device family property for SMR
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.device_family=P10C10L10
|
||||
|
||||
# Set build properties for SMR builds
|
||||
ifeq ($(RELEASE_IS_SMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_PANTHER))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_PANTHER)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_PANTHER))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_PANTHER)
|
||||
endif
|
||||
endif
|
||||
# DCK properties based on target
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.gms.dck.eligible_wcc=2 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue