shusky: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR Flag: build.RELEASE_IS_EMR Flag: build.RELEASE_BASE_OS_HUSKY Flag: build.RELEASE_BASE_OS_SHIBA Bug: 155105803 Change-Id: Ibec4f0c908089ca4304e59e9d37529fa2d4fa40d
This commit is contained in:
parent
0fe25ca786
commit
28a1b27468
2 changed files with 36 additions and 0 deletions
|
@ -412,6 +412,24 @@ 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_HUSKY))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_HUSKY)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_HUSKY))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_HUSKY)
|
||||
endif
|
||||
endif
|
||||
# WLC userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
|
|
@ -389,6 +389,24 @@ 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_SHIBA))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_SHIBA)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_SHIBA))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_SHIBA)
|
||||
endif
|
||||
endif
|
||||
# P23 Devices no longer need rlsservice
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.camera.rls_supported=false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue