Latest fixes
[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 #TEST
8 # A/B support
9 PRODUCT_PACKAGES += \
10 otapreopt_script \
11 cppreopts.sh \
12 update_engine \
13 update_verifier
14
15 PRODUCT_PACKAGES += \
16 bootctrl.sdm845
17
18 AB_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
24 # Enable update engine sideloading by including the static version of the
25 # boot_control HAL and its dependencies.
26 PRODUCT_STATIC_BOOT_CONTROL_HAL := \
27 bootctrl.sdm845 \
28 libgptutils \
29 libz \
30 libcutils
31
32
33 # Boot control HAL
34 PRODUCT_PACKAGES += \
35 android.hardware.boot@1.0-impl \
36 android.hardware.boot@1.0-service \
37
38
39