modularize drm

Bug: 199232842
Test: boot with drm modules started
Change-Id: I6d91d411cf2b9354d4d1cefc3184e8fefa8a9ea7
This commit is contained in:
Adam Shih
2021-09-08 13:50:45 +08:00
parent 1c94ce30ef
commit c7d07e27e0
2 changed files with 5 additions and 2 deletions

View File

@@ -452,9 +452,8 @@ PRODUCT_PACKAGES += \
VideoEditorGoogle
# WideVine modules
include device/google/gs201/widevine/device.mk
PRODUCT_PACKAGES += \
android.hardware.drm@1.4-service.clearkey \
android.hardware.drm@1.4-service.widevine \
liboemcrypto \
ORIOLE_PRODUCT := %oriole

4
widevine/device.mk Normal file
View File

@@ -0,0 +1,4 @@
PRODUCT_PACKAGES += \
android.hardware.drm@1.4-service.clearkey \
android.hardware.drm@1.4-service.widevine
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs201-sepolicy/widevine