82c02f3b513d86dfd99ee22bc70179be6c4630f1
[GitHub/moto-9609/twrp_device_motorola_troika.git] / device.mk
1
2 LOCAL_PATH := device/oneplus/fajita
3
4 # define hardware platform
5 PRODUCT_PLATFORM := sdm845
6
7 # A/B support
8 PRODUCT_PACKAGES += \
9 otapreopt_script \
10 cppreopts.sh \
11 update_engine \
12 update_verifier
13
14 PRODUCT_PACKAGES += \
15 bootctrl.sdm845
16
17 AB_OTA_POSTINSTALL_CONFIG += \
18 RUN_POSTINSTALL_system=true \
19 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
20 FILESYSTEM_TYPE_system=ext4 \
21 POSTINSTALL_OPTIONAL_system=true
22
23 # Enable update engine sideloading by including the static version of the
24 # boot_control HAL and its dependencies.
25 PRODUCT_STATIC_BOOT_CONTROL_HAL := \
26 bootctrl.sdm845 \
27 libgptutils \
28 libz \
29 libcutils
30
31 # Boot control HAL
32 PRODUCT_PACKAGES += \
33 android.hardware.boot@1.0-impl \
34 android.hardware.boot@1.0-service