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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e48ec128c9eec3bfdb3299b3387d06107acdad05) Merged-In: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb Change-Id: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb
This commit is contained in:
parent
47ace89fb8
commit
0d565e9700
1 changed files with 19 additions and 0 deletions
|
@ -391,6 +391,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