tangorpro: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR Flag: build.RELEASE_IS_EMR Flag: build.RELEASE_BASE_OS_TANGORPRO Bug: 155105803 Change-Id: If08bf526b8929a47a964486e45220c725b03e506
This commit is contained in:
parent
df3dc0eda1
commit
3ff00c0207
1 changed files with 19 additions and 0 deletions
|
@ -282,6 +282,25 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.camera.exif_reveal_make_model=true
|
||||
|
||||
# Set device family property for SMR
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.device_family=T6P
|
||||
|
||||
# Set build properties for SMR builds
|
||||
ifeq ($(RELEASE_IS_SMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_TANGORPRO))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_TANGORPRO)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_TANGORPRO))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_TANGORPRO)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Audio
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.audio.multi_usb_mode=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue