Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6a21705 authored by Daniel Zheng's avatar Daniel Zheng
Browse files

recovery: use v4 Health HAL

use v4 health hal in recovery

Ignore-AOSP-First: deprecated_ota_test compilation
Bug: 371322457
Test: th
Change-Id: Idfce02f84698b8766000fcc989dcf99e8d7f3928
parent 6419c354
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ cc_binary {
    ],

    shared_libs: [
        "android.hardware.health-V3-ndk", // from librecovery_utils
        "android.hardware.health-V4-ndk", // from librecovery_utils
        "android.hardware.boot-V1-ndk",
        "librecovery_ui",
    ],
+2 −2
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ cc_binary {
    ],

    shared_libs: [
        "android.hardware.health-V3-ndk", // from librecovery_utils
        "android.hardware.health-V4-ndk", // from librecovery_utils
        "libbase",
        "libcrypto",
    ],
@@ -130,7 +130,7 @@ cc_test {
    ],

    static_libs: [
        "android.hardware.health-V3-ndk", // from librecovery_utils
        "android.hardware.health-V4-ndk", // from librecovery_utils
        "libminadbd_services",
        "libfusesideload",
        "librecovery_utils",
+3 −3
Original line number Diff line number Diff line
@@ -75,11 +75,11 @@ cc_library_static {

    shared_libs: [
        // The following cannot be placed in librecovery_utils_defaults,
        // because at the time of writing, android.hardware.health-V3-ndk.so
        // because at the time of writing, android.hardware.health-V4-ndk.so
        // is not installed to the system image yet. (It is installed
        // to the recovery ramdisk.) Hence, minadbd_test must link to it
        // statically.
        "android.hardware.health-V3-ndk",
        "android.hardware.health-V4-ndk",
    ],

    export_include_dirs: [
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ cc_test {

    static_libs: librecovery_static_libs + [
        "android.hardware.health-translate-ndk",
        "android.hardware.health-V3-ndk",
        "android.hardware.health-V4-ndk",
        "libhealthshim",
        "librecovery_ui",
        "libfusesideload",