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

Commit 6d0c0548 authored by Kornel Dulęba's avatar Kornel Dulęba Committed by Paweł Anikiel
Browse files

Generate Rust Binder bindings for recovery

Add "recovery_available: " property to the relevant Rust modules.
This is needed to use Rust for implementing HALs that run in recovery
mode.

Bug: 372867132
Test: atest binderUnitTest
Flag: EXEMPT build-only change
Change-Id: Ia0e5d0005f9af18e7f518ff3c8ee999ff1e35d17
parent 528f45c5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ rust_library {
    host_supported: true,
    vendor_available: true,
    product_available: true,
    recovery_available: true,
    target: {
        darwin: {
            enabled: false,
@@ -87,6 +88,7 @@ rust_library {
    host_supported: true,
    vendor_available: true,
    product_available: true,
    recovery_available: true,
    target: {
        darwin: {
            enabled: false,
@@ -152,6 +154,7 @@ rust_bindgen {
    host_supported: true,
    vendor_available: true,
    product_available: true,
    recovery_available: true,

    // Currently necessary for host builds
    // TODO(b/31559095): bionic on host should define this