Updating Kernel Source in Readme
[GitHub/moto-9609/twrp_device_motorola_troika.git] / device.mk
index 0b2db6a30b64b6945f7a2a92805893604f40c338..addd4b4cac13ee91223fd2e697f91236b92c2e9d 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -1,12 +1,39 @@
 
-LOCAL_PATH := device/oneplus/enchilada
+LOCAL_PATH := device/oneplus/guacamole
+
+# define hardware platform
+PRODUCT_PLATFORM := msmnile
+
+#TEST
+# A/B support
+PRODUCT_PACKAGES += \
+    otapreopt_script \
+    cppreopts.sh \
+    update_engine \
+    update_verifier
+
+PRODUCT_PACKAGES += \
+    bootctrl.msmnile
+
+AB_OTA_POSTINSTALL_CONFIG += \
+    RUN_POSTINSTALL_system=true \
+    POSTINSTALL_PATH_system=system/bin/otapreopt_script \
+    FILESYSTEM_TYPE_system=ext4 \
+    POSTINSTALL_OPTIONAL_system=true
 
 # 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
+    bootctrl.msmnile \
+    libgptutils \
+    libz \
+    libcutils
+
 
+# Boot control HAL
 PRODUCT_PACKAGES += \
-    update_engine_sideload
+    android.hardware.boot@1.0-impl \
+    android.hardware.boot@1.0-service \
+
+
+