build update_engine_sideload
[GitHub/moto-9609/twrp_device_motorola_troika.git] / device.mk
CommitLineData
1be74ca5 1
467c5ea6 2LOCAL_PATH := device/motorola/troika
1be74ca5 3
53a9f284 4# define hardware platform
467c5ea6 5PRODUCT_PLATFORM := exynos9610
53a9f284 6
41b3d004 7#TEST
53a9f284 8# A/B support
9PRODUCT_PACKAGES += \
10 otapreopt_script \
11 cppreopts.sh \
12 update_engine \
28449a8f 13 update_engine_sideload \
53a9f284 14 update_verifier
15
53a9f284 16AB_OTA_POSTINSTALL_CONFIG += \
17 RUN_POSTINSTALL_system=true \
18 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
19 FILESYSTEM_TYPE_system=ext4 \
20 POSTINSTALL_OPTIONAL_system=true
21
1be74ca5 22# Enable update engine sideloading by including the static version of the
23# boot_control HAL and its dependencies.
53a9f284 24PRODUCT_STATIC_BOOT_CONTROL_HAL := \
09f87414 25 bootctrl.exynos9610 \
53a9f284 26 libz \
27 libcutils
1be74ca5 28
53a9f284 29# Boot control HAL
30PRODUCT_PACKAGES += \
09f87414 31 bootctrl.exynos9610
41b3d004 32
33
34