|
@@ -237,6 +237,24 @@ endif
|
|
|
PRODUCT_VENDOR_PROPERTIES += \
|
|
|
ro.vendor.build.svn=$(TARGET_SVN)
|
|
|
|
|
|
+# Set device family property for SMR
|
|
|
+PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
+ ro.build.device_family=P10C10L10
|
|
|
+
|
|
|
+# Set build properties for SMR builds
|
|
|
+ifeq ($(RELEASE_IS_SMR), true)
|
|
|
+ ifneq (,$(RELEASE_BASE_OS_LYNX))
|
|
|
+ PRODUCT_BASE_OS := $(RELEASE_BASE_OS_LYNX)
|
|
|
+ endif
|
|
|
+endif
|
|
|
+
|
|
|
+# Set build properties for EMR builds
|
|
|
+ifeq ($(RELEASE_IS_EMR), true)
|
|
|
+ ifneq (,$(RELEASE_BASE_OS_LYNX))
|
|
|
+ PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
+ ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_LYNX)
|
|
|
+ endif
|
|
|
+endif
|
|
|
# Set support hide display cutout feature
|
|
|
PRODUCT_PRODUCT_PROPERTIES += \
|
|
|
ro.support_hide_display_cutout=true
|