sdm845-common: Use Widevine DRM from munch
Change-Id: I51b2e37aae3f1a5497c182707c5ec29f0aafb864
This commit is contained in:
1 parent
bcf1992f9b
commit
c71226a742
8 files changed
+47
-12
No files matched your search
+17
-8
@@ -8421,14 +8421,14 @@ cc_prebuilt_library_shared {
|
||||
"android.hardware.drm@1.0",
|
||||
"android.hardware.drm@1.1",
|
||||
"android.hardware.drm@1.2",
|
||||
"android.hardware.drm@1.3",
|
||||
"android.hidl.memory@1.0",
|
||||
"libbase",
|
||||
"libcrypto",
|
||||
"libhidlbase",
|
||||
"libhidlmemory",
|
||||
"libhidltransport",
|
||||
"libhwbinder",
|
||||
"liblog",
|
||||
"libprotobuf-cpp-lite-vendorcompat",
|
||||
"libprotobuf-cpp-lite-3.9.1-vendorcompat",
|
||||
"libutils",
|
||||
"libc++",
|
||||
"libc",
|
||||
@@ -8483,8 +8483,9 @@ cc_prebuilt_library_shared {
|
||||
shared_libs: [
|
||||
"libcrypto_shim",
|
||||
"libbase",
|
||||
"libcrypto",
|
||||
"liblog",
|
||||
"libprotobuf-cpp-lite-vendorcompat",
|
||||
"libprotobuf-cpp-lite-3.9.1-vendorcompat",
|
||||
"libstagefright_foundation",
|
||||
"libutils",
|
||||
"libc++",
|
||||
@@ -12935,6 +12936,15 @@ prebuilt_etc_xml {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
name: "manifest_android.hardware.drm@1.3-service.widevine.xml",
|
||||
owner: "xiaomi",
|
||||
src: "proprietary/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.widevine.xml",
|
||||
filename_from_src: true,
|
||||
sub_dir: "vintf/manifest",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "ATFWD-daemon",
|
||||
owner: "xiaomi",
|
||||
@@ -13236,21 +13246,20 @@ cc_prebuilt_binary {
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "android.hardware.drm@1.2-service.widevine",
|
||||
name: "android.hardware.drm@1.3-service.widevine",
|
||||
owner: "xiaomi",
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/vendor/bin/hw/android.hardware.drm@1.2-service.widevine",
|
||||
"proprietary/vendor/bin/hw/android.hardware.drm@1.3-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",
|
||||
"libhidltransport",
|
||||
"libhwbinder",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libwvhidl",
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
+4
-2
@@ -9,17 +9,19 @@ service vendor.move_data_sh /system/bin/move_widevine_data.sh
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.drm-widevine-hal-1-2 /vendor/bin/hw/android.hardware.drm@1.2-service.widevine
|
||||
service vendor.drm-widevine-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-service.widevine
|
||||
interface android.hardware.drm@1.0::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.0::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.1::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.1::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.2::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.2::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.3::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.3::IDrmFactory widevine
|
||||
interface android.hidl.base@1.0::IBase widevine
|
||||
class hal
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
writepid /sys/kernel/ktrace/sched/drm_pid
|
||||
capabilities SYS_NICE
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.drm</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.3::ICryptoFactory/widevine</fqname>
|
||||
<fqname>@1.3::IDrmFactory/widevine</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
BIN
Binary file not shown.
Binary file not shown.
@@ -54,7 +54,7 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/default-permissions/com.qualcomm.qti.cne.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default-permissions/com.qualcomm.qti.cne.xml \
|
||||
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.bluetooth@1.0-service-qti.rc \
|
||||
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/android.hardware.drm@1.1-service.wfdhdcp.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.1-service.wfdhdcp.rc \
|
||||
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.2-service.widevine.rc \
|
||||
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.3-service.widevine.rc \
|
||||
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc \
|
||||
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc \
|
||||
vendor/xiaomi/sdm845-common/proprietary/vendor/etc/init/cnd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/cnd.rc \
|
||||
@@ -539,6 +539,7 @@ PRODUCT_PACKAGES += \
|
||||
qcrilhook \
|
||||
android.hardware.neuralnetworks@1.3-service-qti-hta.xml \
|
||||
android.hardware.neuralnetworks@1.3-service-qti.xml \
|
||||
manifest_android.hardware.drm@1.3-service.widevine.xml \
|
||||
ATFWD-daemon \
|
||||
adpl \
|
||||
adsprpcd \
|
||||
@@ -548,7 +549,7 @@ PRODUCT_PACKAGES += \
|
||||
dpmQmiMgr \
|
||||
hvdcp_opti \
|
||||
android.hardware.bluetooth@1.0-service-qti \
|
||||
android.hardware.drm@1.2-service.widevine \
|
||||
android.hardware.drm@1.3-service.widevine \
|
||||
android.hardware.gatekeeper@1.0-service-qti \
|
||||
android.hardware.neuralnetworks@1.3-service-qti \
|
||||
qcrild \
|
||||
|
||||
Reference in new issue
Block a user