s5e8825-common: Setup DRM

Change-Id: Idab7bb8f8187d2c7dc0469332b9405e47006026e
Signed-off-by: Majaahh <maja.blaszczak@proton.me>
This commit is contained in:
Tim Zimmerman
2025-08-31 23:17:52 +02:00
committed by Majaahh
parent 3ff1f8bae7
commit 72612d8da6
6 changed files with 138 additions and 0 deletions

View File

@@ -1814,6 +1814,44 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libwvhidl",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libwvhidl.so",
],
shared_libs: [
"android.hardware.drm@1.0",
"android.hardware.drm@1.1",
"android.hardware.drm@1.2",
"android.hardware.drm@1.3",
"android.hardware.drm@1.4",
"android.hidl.memory@1.0",
"libbase",
"libcrypto",
"libcutils",
"libhidlbase",
"libhidlmemory",
"liblog",
"libprotobuf-cpp-lite-3.9.1",
"libutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.samsung.hardware.audio-V1-ndk",
owner: "samsung",
@@ -2052,6 +2090,15 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_android.hardware.drm@1.4-service.widevine.xml",
owner: "samsung",
src: "proprietary/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.4-service.widevine.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "secaudiohalaidl_manifest.xml",
owner: "samsung",
@@ -2117,6 +2164,42 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.drm@1.4-service.widevine",
owner: "samsung",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/android.hardware.drm@1.4-service.widevine",
],
shared_libs: [
"android.hardware.drm@1.0",
"android.hardware.drm@1.1",
"android.hardware.drm@1.2",
"android.hardware.drm@1.3",
"libbase",
"libhidlbase",
"liblog",
"libutils",
"libbinder",
"android.hardware.drm@1.4",
"libwvhidl",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary {
name: "rild",
owner: "samsung",