akita: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR Flag: build.RELEASE_IS_EMR Flag: build.RELEASE_BASE_OS_AKITA Bug: 155105803 Change-Id: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb
This commit is contained in:
parent
f60409dd23
commit
e48ec128c9
1 changed files with 19 additions and 0 deletions
|
@ -397,6 +397,25 @@ endif
|
|||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=$(TARGET_SVN)
|
||||
|
||||
# Set device family property for SMR
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.device_family=HK3SB3AK3
|
||||
|
||||
# Set build properties for SMR builds
|
||||
ifeq ($(RELEASE_IS_SMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_AKITA))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_AKITA)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_AKITA))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_AKITA)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Keyboard height ratio and bottom padding in dp for portrait mode
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.com.google.ime.kb_pad_port_b=4.19 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue