caimito: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR Flag: build.RELEASE_IS_EMR Flag: build.RELEASE_BASE_OS_CAIMAN Flag: build.RELEASE_BASE_OS_KOMODO Flag: build.RELEASE_BASE_OS_TOKAY Bug: 155105803 Change-Id: I9b977a25fd6fb2645aabaf35fff70bff5138b7e1
This commit is contained in:
parent
4e5c02280b
commit
60916ef9aa
3 changed files with 57 additions and 0 deletions
|
@ -82,6 +82,25 @@ 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_CAIMAN))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_CAIMAN)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_CAIMAN))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_CAIMAN)
|
||||
endif
|
||||
endif
|
||||
|
||||
# go/lyric-soong-variables
|
||||
$(call soong_config_set,lyric,camera_hardware,caiman)
|
||||
$(call soong_config_set,lyric,tuning_product,caiman)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue