tegu: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR Flag: build.RELEASE_IS_EMR Flag: build.RELEASE_BASE_OS_TEGU Bug: 155105803 Change-Id: I9b977a25fd6fb2645aabaf35fff70bff5138b7e1
This commit is contained in:
parent
564d37b461
commit
f466d06608
1 changed files with 16 additions and 0 deletions
|
@ -452,5 +452,21 @@ endif
|
|||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=$(TARGET_SVN)
|
||||
|
||||
# Set device family property for SMR
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.device_family=CM4KM4TK4TG4
|
||||
|
||||
# Set build properties for SMR builds
|
||||
ifeq ($(RELEASE_IS_SMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_TEGU))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_TEGU)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_TEGU))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_TEGU)
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue