-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable widevine L1 features. Tracked-On: Signed-off-by: manxiaoliang <[email protected]>
- Loading branch information
1 parent
14ff37a
commit 9673c59
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
BOARD_USE_INTEL_OEMCRYPTO := true | ||
BOARD_SEPOLICY_DIRS += $(INTEL_PATH_SEPOLICY)/widevine/gen/gen_common | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[defaults] | ||
additional_lib = | ||
widevine_arch = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#enable Widevine drm | ||
PRODUCT_PROPERTY_OVERRIDES += drm.service.enabled=true | ||
|
||
|
||
# There is an additional dependency on hdcpd that should be controlled | ||
# through the content-protection mixin | ||
|
||
PRODUCT_PACKAGES += android.hardware.drm-service.widevine | ||
#com.google.widevine.software.drm.xml \ | ||
com.google.widevine.software.drm \ | ||
libdrmwvmplugin \ | ||
libdrmclearkeyplugin \ | ||
libwvm \ | ||
libdrmdecrypt \ | ||
libWVStreamControlAPI_L1 \ | ||
libwvdrm_L1 | ||
|
||
#PRODUCT_PACKAGES += [email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
libdrmclearkeyplugin \ | ||
libwvhidl | ||
|
||
# WV Modular | ||
#PRODUCT_PACKAGES += libwvdrmengine | ||
|
||
PRODUCT_PACKAGES_ENG += ExoPlayerDemo | ||
|
||
PRODUCT_PACKAGES += liboemcrypto \ | ||
sigma \ | ||
|
||
#CP prebuilt binaries | ||
#PRODUCT_PACKAGES += \ | ||
libcoreuclient \ | ||
libcoreuinterface \ | ||
libcoreuservice \ | ||
coreu \ | ||
cplib \ | ||
libpavp \ | ||
libpcp \ | ||
libskuwa \ | ||
msync \ | ||
BOARD_WIDEVINE_OEMCRYPTO_LEVEL := 1 |