Merge "Drop Widevine CDM v17 prebuilt files" into udc-dev
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
drops {
|
||||
android_build_drop {
|
||||
build_id: "P53529894"
|
||||
target: "redfin-userdebug"
|
||||
source_file: "android.hardware.drm-service.widevine_v17"
|
||||
}
|
||||
dest_file: "libwvdrmengine/prebuilt/v17/android.hardware.drm-service.widevine"
|
||||
version: ""
|
||||
version_group: "v17"
|
||||
git_project: "platform/vendor/widevine"
|
||||
git_branch: "udc-dev"
|
||||
transform: TRANSFORM_NONE
|
||||
transform_options {
|
||||
}
|
||||
}
|
||||
34
libwvdrmengine/prebuilt/v17/Android.bp
Normal file
34
libwvdrmengine/prebuilt/v17/Android.bp
Normal file
@@ -0,0 +1,34 @@
|
||||
// Copyright (C) 2023 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.
|
||||
|
||||
package {
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
// to get the below license kinds:
|
||||
// SPDX-license-identifier-Apache-2.0
|
||||
// legacy_by_exception_only (by exception only)
|
||||
// legacy_proprietary (by exception only)
|
||||
default_applicable_licenses: ["vendor_widevine_license"],
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "android.hardware.drm-service.widevine-v17",
|
||||
srcs: ["android.hardware.drm-service.widevine"],
|
||||
relative_install_path: "hw",
|
||||
init_rc: ["android.hardware.drm-service.widevine-v17.rc"],
|
||||
vintf_fragments: ["manifest_android.hardware.drm-service.widevine-v17.xml"],
|
||||
shared_libs: ["libbinder_ndk", "libcrypto", "liblog"],
|
||||
proprietary: true,
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,10 @@
|
||||
on property:init.svc.mediadrm=running
|
||||
mkdir /data/vendor/mediadrm 0770 media mediadrm
|
||||
|
||||
service vendor.drm-widevine-hal /vendor/bin/hw/android.hardware.drm-service.widevine-v17
|
||||
interface aidl android.hardware.drm::IDrmFactory/widevine
|
||||
class hal
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2021 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="aidl">
|
||||
<name>android.hardware.drm</name>
|
||||
<version>1</version>
|
||||
<fqname>IDrmFactory/widevine</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
Reference in New Issue
Block a user