1be74ca5 |
1 | |
d7596fbe |
2 | LOCAL_PATH := device/oneplus/fajita |
1be74ca5 |
3 | |
53a9f284 |
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 | |
1be74ca5 |
23 | # Enable update engine sideloading by including the static version of the |
24 | # boot_control HAL and its dependencies. |
53a9f284 |
25 | PRODUCT_STATIC_BOOT_CONTROL_HAL := \ |
26 | bootctrl.sdm845 \ |
27 | libgptutils \ |
28 | libz \ |
29 | libcutils |
1be74ca5 |
30 | |
53a9f284 |
31 | # Boot control HAL |
32 | PRODUCT_PACKAGES += \ |
33 | android.hardware.boot@1.0-impl \ |
34 | android.hardware.boot@1.0-service \ |