--- /dev/null
+
+LOCAL_PATH := device/oneplus/enchilada
+
+# Enable update engine sideloading by including the static version of the
+# boot_control HAL and its dependencies.
+PRODUCT_STATIC_BOOT_CONTROL_HAL := \
+ bootctrl.sdm845 \
+ librecovery_updater_msm \
+ libsparse
+
+PRODUCT_PACKAGES += \
+ update_engine_sideload
# Inherit from our custom product configuration
$(call inherit-product, vendor/omni/config/common.mk)
+# Inherit from hardware-specific part of the product configuration
+$(call inherit-product, device/oneplus/enchilada/device.mk)
+
## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := enchilada
PRODUCT_NAME := omni_enchilada
PRODUCT_BRAND := OnePlus
PRODUCT_MODEL := OnePlus A6000
PRODUCT_MANUFACTURER := OnePlus
+
+PRODUCT_BUILD_PROP_OVERRIDES += \
+ PRODUCT_NAME=OnePlus6 \
+ BUILD_PRODUCT=OnePlus6 \
+ TARGET_DEVICE=OnePlus6