Hi I'm OnePlus 7 Pro Guacamole
[GitHub/moto-9609/twrp_device_motorola_troika.git] / device.mk
CommitLineData
1be74ca5 1
51cb0147 2LOCAL_PATH := device/oneplus/guacamole
1be74ca5 3
53a9f284 4# define hardware platform
51cb0147 5PRODUCT_PLATFORM := msmnile
53a9f284 6
41b3d004 7#TEST
53a9f284 8# A/B support
9PRODUCT_PACKAGES += \
10 otapreopt_script \
11 cppreopts.sh \
12 update_engine \
13 update_verifier
14
15PRODUCT_PACKAGES += \
51cb0147 16 bootctrl.msmnile
53a9f284 17
18AB_OTA_POSTINSTALL_CONFIG += \
19 RUN_POSTINSTALL_system=true \
20 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
21 FILESYSTEM_TYPE_system=ext4 \
22 POSTINSTALL_OPTIONAL_system=true
23
1be74ca5 24# Enable update engine sideloading by including the static version of the
25# boot_control HAL and its dependencies.
53a9f284 26PRODUCT_STATIC_BOOT_CONTROL_HAL := \
51cb0147 27 bootctrl.msmnile \
53a9f284 28 libgptutils \
29 libz \
30 libcutils
1be74ca5 31
41b3d004 32
53a9f284 33# Boot control HAL
34PRODUCT_PACKAGES += \
35 android.hardware.boot@1.0-impl \
41b3d004 36 android.hardware.boot@1.0-service \
37
38
39