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

Commit 709142dd authored by Jooyung Han's avatar Jooyung Han Committed by Automerger Merge Worker
Browse files

Merge "Add authgraph HAL APEX" into main am: 28b3387f

parents 48b1beb6 28b3387f
Loading
Loading
Loading
Loading
+33 −2
Original line number Diff line number Diff line
@@ -46,11 +46,11 @@ rust_binary {
    name: "android.hardware.security.authgraph-service.nonsecure",
    relative_install_path: "hw",
    vendor: true,
    init_rc: ["authgraph.rc"],
    vintf_fragments: ["authgraph.xml"],
    installable: false, // install com.android.hardware.security.authgraph
    defaults: [
        "authgraph_use_latest_hal_aidl_rust",
    ],
    prefer_rlib: true,
    rustlibs: [
        "libandroid_logger",
        "libauthgraph_hal",
@@ -80,3 +80,34 @@ rust_fuzz {
        ],
    },
}

prebuilt_etc {
    name: "authgraph.xml",
    src: "authgraph.xml",
    sub_dir: "vintf",
    installable: false,
}

prebuilt_etc {
    name: "authgraph.rc",
    src: "authgraph.rc",
    installable: false,
}

apex {
    name: "com.android.hardware.security.authgraph",
    manifest: "apex_manifest.json",
    file_contexts: "apex_file_contexts",
    key: "com.android.hardware.key",
    certificate: ":com.android.hardware.certificate",
    vendor: true,
    updatable: false,

    binaries: [
        "android.hardware.security.authgraph-service.nonsecure",
    ],
    prebuilts: [
        "authgraph.rc",
        "authgraph.xml",
    ],
}
+3 −0
Original line number Diff line number Diff line
(/.*)?                                          u:object_r:vendor_file:s0
/etc(/.*)?                                      u:object_r:vendor_configs_file:s0
/bin/hw/android\.hardware\.security\.authgraph-service\.nonsecure  u:object_r:hal_authgraph_default_exec:s0
+4 −0
Original line number Diff line number Diff line
{
    "name": "com.android.hardware.security.authgraph",
    "version": 1
}
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
service vendor.authgraph /vendor/bin/hw/android.hardware.security.authgraph-service.nonsecure
service vendor.authgraph /apex/com.android.hardware.security.authgraph/bin/hw/android.hardware.security.authgraph-service.nonsecure
    interface aidl android.hardware.security.authgraph.IAuthGraph/nonsecure
    class hal
    user nobody