hdmi: cec: convert to apex

This commit is contained in:
Konsta
2025-03-21 23:21:07 +02:00
parent 39a71902e0
commit 59af7f93eb
6 changed files with 39 additions and 5 deletions

View File

@@ -6,8 +6,6 @@
cc_binary {
name: "android.hardware.tv.hdmi.cec-service.rpi",
relative_install_path: "hw",
init_rc: ["android.hardware.tv.hdmi.cec-service.rpi.rc"],
vintf_fragments: ["android.hardware.tv.hdmi.cec-service.rpi.xml"],
vendor: true,
srcs: [
"HdmiCec.cpp",
@@ -22,4 +20,34 @@ cc_binary {
"libhardware",
"liblog",
],
installable: false,
}
prebuilt_etc {
name: "android.hardware.tv.hdmi.cec-service.rpi.rc",
src: "android.hardware.tv.hdmi.cec-service.rpi.rc",
installable: false,
}
prebuilt_etc {
name: "android.hardware.tv.hdmi.cec-service.rpi.xml",
src: "android.hardware.tv.hdmi.cec-service.rpi.xml",
sub_dir: "vintf",
installable: false,
}
apex {
name: "com.android.hardware.tv.hdmi.cec.rpi5",
manifest: "apex_manifest.json",
file_contexts: "apex_file_contexts",
key: "com.android.hardware.key",
certificate: ":com.android.hardware.certificate",
updatable: false,
vendor: true,
binaries: ["android.hardware.tv.hdmi.cec-service.rpi"],
prebuilts: [
"android.hardware.tv.hdmi.cec-service.rpi.rc",
"android.hardware.tv.hdmi.cec-service.rpi.xml",
],
}