summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-08-23 15:22:23 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-08-23 15:22:23 +0200
commit4ffe070d97f7b4f92d59bd4d37b0949907f4d270 (patch)
tree634fb2c982c31cf6a7779be62d20c5d3e5c8b691
Import of Rockchip Android 7.1.1 SDKHEADmaster
-rwxr-xr-xframework/arm/com.google.widevine.software.drm.jarbin0 -> 707 bytes
-rwxr-xr-xframework/arm/com.google.widevine.software.drm.xml8
-rwxr-xr-xlib/arm/libWVStreamControlAPI_L3.sobin0 -> 2467364 bytes
-rwxr-xr-xlib/arm/libwvdrm_L3.sobin0 -> 87600 bytes
-rwxr-xr-xlib/arm/libwvdrmengine.sobin0 -> 1532728 bytes
-rwxr-xr-xlib/arm/rk3328/libdrmdecrypt.sobin0 -> 18020 bytes
-rwxr-xr-xlib/arm/rk3328/libdrmwvmplugin.sobin0 -> 108256 bytes
-rwxr-xr-xlib/arm/rk3328/libwvm.sobin0 -> 75420 bytes
-rwxr-xr-xlib/arm/rk3399/libdrmdecrypt.sobin0 -> 18020 bytes
-rwxr-xr-xlib/arm/rk3399/libdrmwvmplugin.sobin0 -> 108256 bytes
-rwxr-xr-xlib/arm/rk3399/libwvm.sobin0 -> 75420 bytes
-rwxr-xr-xwidevine.mk14
12 files changed, 22 insertions, 0 deletions
diff --git a/framework/arm/com.google.widevine.software.drm.jar b/framework/arm/com.google.widevine.software.drm.jar
new file mode 100755
index 0000000..06598f7
--- /dev/null
+++ b/framework/arm/com.google.widevine.software.drm.jar
Binary files differ
diff --git a/framework/arm/com.google.widevine.software.drm.xml b/framework/arm/com.google.widevine.software.drm.xml
new file mode 100755
index 0000000..f75abf9
--- /dev/null
+++ b/framework/arm/com.google.widevine.software.drm.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2011 Google, Inc. All Rights Reserved
+-->
+<permissions>
+ <library name="com.google.widevine.software.drm"
+ file="/system/framework/com.google.widevine.software.drm.jar"/>
+</permissions>
diff --git a/lib/arm/libWVStreamControlAPI_L3.so b/lib/arm/libWVStreamControlAPI_L3.so
new file mode 100755
index 0000000..1fd88f9
--- /dev/null
+++ b/lib/arm/libWVStreamControlAPI_L3.so
Binary files differ
diff --git a/lib/arm/libwvdrm_L3.so b/lib/arm/libwvdrm_L3.so
new file mode 100755
index 0000000..ea8a6d9
--- /dev/null
+++ b/lib/arm/libwvdrm_L3.so
Binary files differ
diff --git a/lib/arm/libwvdrmengine.so b/lib/arm/libwvdrmengine.so
new file mode 100755
index 0000000..2ca9f66
--- /dev/null
+++ b/lib/arm/libwvdrmengine.so
Binary files differ
diff --git a/lib/arm/rk3328/libdrmdecrypt.so b/lib/arm/rk3328/libdrmdecrypt.so
new file mode 100755
index 0000000..3585a9e
--- /dev/null
+++ b/lib/arm/rk3328/libdrmdecrypt.so
Binary files differ
diff --git a/lib/arm/rk3328/libdrmwvmplugin.so b/lib/arm/rk3328/libdrmwvmplugin.so
new file mode 100755
index 0000000..fe52c37
--- /dev/null
+++ b/lib/arm/rk3328/libdrmwvmplugin.so
Binary files differ
diff --git a/lib/arm/rk3328/libwvm.so b/lib/arm/rk3328/libwvm.so
new file mode 100755
index 0000000..07c83fd
--- /dev/null
+++ b/lib/arm/rk3328/libwvm.so
Binary files differ
diff --git a/lib/arm/rk3399/libdrmdecrypt.so b/lib/arm/rk3399/libdrmdecrypt.so
new file mode 100755
index 0000000..c1aa816
--- /dev/null
+++ b/lib/arm/rk3399/libdrmdecrypt.so
Binary files differ
diff --git a/lib/arm/rk3399/libdrmwvmplugin.so b/lib/arm/rk3399/libdrmwvmplugin.so
new file mode 100755
index 0000000..f6ab035
--- /dev/null
+++ b/lib/arm/rk3399/libdrmwvmplugin.so
Binary files differ
diff --git a/lib/arm/rk3399/libwvm.so b/lib/arm/rk3399/libwvm.so
new file mode 100755
index 0000000..c87d014
--- /dev/null
+++ b/lib/arm/rk3399/libwvm.so
Binary files differ
diff --git a/widevine.mk b/widevine.mk
new file mode 100755
index 0000000..965cb92
--- /dev/null
+++ b/widevine.mk
@@ -0,0 +1,14 @@
+CUR_PATH := vendor/widevine
+
+
+########################################################
+#add wv-l3 drm function
+#######################################################
+PRODUCT_COPY_FILES += vendor/widevine/lib/arm/libwvdrmengine.so:system/vendor/lib/mediadrm/libwvdrmengine.so \
+ vendor/widevine/lib/arm/libwvdrm_L3.so:system/vendor/lib/libwvdrm_L3.so \
+ vendor/widevine/lib/arm/libWVStreamControlAPI_L3.so:system/vendor/lib/libWVStreamControlAPI_L3.so \
+ vendor/widevine/framework/arm/com.google.widevine.software.drm.jar:system/framework/com.google.widevine.software.drm.jar \
+ vendor/widevine/framework/arm/com.google.widevine.software.drm.xml:system/etc/permissions/com.google.widevine.software.drm.xml
+
+# if not set,default to 10M
+PRODUCT_PROPERTY_OVERRIDES += ro.com.widevine.cachesize=16777216