Skip to content

Commit

Permalink
Add Widevine L1 build targets
Browse files Browse the repository at this point in the history
Enable widevine L1 features.

Tracked-On:
Signed-off-by: manxiaoliang <[email protected]>
  • Loading branch information
manxiaoliang committed Aug 27, 2024
1 parent 14ff37a commit 9673c59
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
3 changes: 3 additions & 0 deletions groups/widevine/L1_Gen/BoardConfig.mk
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

3 changes: 3 additions & 0 deletions groups/widevine/L1_Gen/option.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[defaults]
additional_lib =
widevine_arch =
45 changes: 45 additions & 0 deletions groups/widevine/L1_Gen/product.mk
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

0 comments on commit 9673c59

Please sign in to comment.