summaryrefslogtreecommitdiff
authorXindong Xu <xindong.xu@amlogic.com>2018-01-23 08:37:24 (GMT)
committer Xindong Xu <xindong.xu@amlogic.com>2018-01-30 08:53:41 (GMT)
commit93addabfdbce96c4495c62283a8686b9b2b718a7 (patch)
tree9d7c2bce4084b2e6b87efb82f462707f32bdb185
parent0a4f58ed6277ea4a72594ae49d1520baa50f6983 (diff)
downloadcommon-93addabfdbce96c4495c62283a8686b9b2b718a7.zip
common-93addabfdbce96c4495c62283a8686b9b2b718a7.tar.gz
common-93addabfdbce96c4495c62283a8686b9b2b718a7.tar.bz2
Widevine: version 13 support [1/6]
PD# 158058 1. give widevine service hal_drm_default_exec prop 2. modify PRODUCT_PACKAGES in media.mk Change-Id: Ia0d6b5e169af40212a22445a9dc0f4932485f8a0
Diffstat
-rw-r--r--media.mk20
-rw-r--r--sepolicy/file_contexts1
2 files changed, 3 insertions, 18 deletions
diff --git a/media.mk b/media.mk
index 66a2670..d2587ea 100644
--- a/media.mk
+++ b/media.mk
@@ -183,27 +183,11 @@ ifeq ($(TARGET_USE_SECUREOS), true)
endif
endif
-PRODUCT_PACKAGES += com.google.widevine.software.drm.xml \
- com.google.widevine.software.drm \
- libWVStreamControlAPI_L1 \
- libdrmwvmplugin_L1 \
- libwvm_L1 \
- libwvdrm_L1 \
- libWVStreamControlAPI_L3 \
- libdrmwvmplugin \
- libwvm \
- libwvdrm_L3 \
- libotzapi \
- libwvsecureos_api \
- libdrmdecrypt \
- libwvdrmengine \
+PRODUCT_PACKAGES += android.hardware.drm@1.0-service.widevine \
+ libwvhidl \
liboemcrypto \
- widevine \
- wvcenc \
- edef8ba9-79d6-4ace-a3c827dcd51d21ed \
e043cde0-61d0-11e5-9c260002a5d5c51b \
secmem_test \
- secureapi_test \
oemcrypto_test
ifeq ($(TARGET_WITH_AMLOGIC_PLAYERS), true)
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 73d1c80..deb59f7 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -150,6 +150,7 @@
/vendor/xbin/bcmdl u:object_r:bcmdl_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.dumpstate@1\.0-service.droidlogic u:object_r:hal_dumpstate_default_exec:s0
+/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.0-service.widevine u:object_r:hal_drm_default_exec:s0
/vendor/lib(64)?/hw/gralloc\.amlogic\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libfbcnf\.so u:object_r:same_process_hal_file:s0