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

Commit 60ea6925 authored by Jooyung Han's avatar Jooyung Han Committed by Automerger Merge Worker
Browse files

Merge "Add contexthub HAL APEX" into main am: cf81ef37 am: 1e0aac1a

parents c3e18f1e 1e0aac1a
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
@@ -57,3 +57,34 @@ cc_binary {
    ],
    srcs: ["main.cpp"],
}

prebuilt_etc {
    name: "android.hardware.contexthub-service.example.rc",
    src: "android.hardware.contexthub-service.example.rc",
    installable: false,
}

prebuilt_etc {
    name: "contexthub-default.xml",
    src: "contexthub-default.xml",
    sub_dir: "vintf",
    installable: false,
}

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

    binaries: [
        "android.hardware.contexthub-service.example",
    ],
    prebuilts: [
        "android.hardware.contexthub-service.example.rc",
        "contexthub-default.xml",
    ],
}
+4 −0
Original line number Diff line number Diff line
service vendor.contexthub-default /apex/com.android.hardware.contexthub/bin/hw/android.hardware.contexthub-service.example
    class hal
    user context_hub
    group context_hub
+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\.contexthub-service\.example          u:object_r:hal_contexthub_default_exec:s0
+4 −0
Original line number Diff line number Diff line
{
    "name": "com.android.hardware.contexthub",
    "version": 1
}
 No newline at end of file