Merge "comet: Add build_flags based properties for SMR/EMR build" into main
This commit is contained in:
commit
547516fadc
1 changed files with 19 additions and 0 deletions
|
@ -79,6 +79,25 @@ endif
|
|||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=$(TARGET_SVN)
|
||||
|
||||
# Set device family property for SMR
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.device_family=CT3
|
||||
|
||||
# Set build properties for SMR builds
|
||||
ifeq ($(RELEASE_IS_SMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_COMET))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_COMET)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_COMET))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_COMET)
|
||||
endif
|
||||
endif
|
||||
|
||||
# go/lyric-soong-variables
|
||||
$(call soong_config_set,lyric,camera_hardware,comet)
|
||||
$(call soong_config_set,lyric,tuning_product,comet)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue