comet: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR Flag: build.RELEASE_IS_EMR Flag: build.RELEASE_BASE_OS_COMET Bug: 155105803 Change-Id: Ia63af4f58503dee77b1ae544092d611139cbe629
This commit is contained in:
parent
0466de1eac
commit
cef10fa32c
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