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

Commit ccfd51a1 authored by Bram Bonné's avatar Bram Bonné
Browse files

Build Rust bindings for PermissionController

These are needed in order for keystore2 (written in Rust) to perform
permission checks for its callers.

Bug: 181114803
Test: make, check contents of
out/soong/.intermediates/frameworks/base/android.os.permissions-rust*

Change-Id: I6afb372f01cb5a90601f9d4a979451ec95b97b52
parent b7cc3c61
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -1129,6 +1129,21 @@ aidl_interface {
    },
}

// Build Rust bindings for PermissionController. Needed by keystore2.
aidl_interface {
    name: "android.os.permissions_aidl",
    unstable: true,
    local_include_dir: "core/java",
    srcs: [
        "core/java/android/os/IPermissionController.aidl",
    ],
    backend: {
        rust: {
            enabled: true,
        },
    },
}

// TODO(b/77285514): remove this once the last few hidl interfaces have been
// updated to use hwbinder.stubs.
java_library {