Skip to content

Commit

Permalink
Add Android 15 Widevine L1 build target
Browse files Browse the repository at this point in the history
Signed-off-by: Long, Hanyu <hanyu.long@intel.com>
  • Loading branch information
HawieLong committed Jan 16, 2025
1 parent 3bd3a38 commit 922918b
Show file tree
Hide file tree
Showing 3 changed files with 55 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 =
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__

0 comments on commit 922918b

Please sign in to comment.