Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Android 15 Widevine L1 build target #2232

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 =
49 changes: 49 additions & 0 deletions groups/widevine/L1_Gen/product.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#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.android.widevine
#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 += android.hardware.drm@1.4-service.widevine \
android.hardware.drm@1.0-service \
android.hardware.drm@1.0-impl \
android.hardware.drm@1.4-service.clearkey \
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
TARGET_CFLAGS += -D__ANDROID_APEX__
TARGET_CPPFLAGS += -D__ANDROID_APEX__
Loading