Add non-updatable Widevine Apex in build

Bug: 251299786
Test: m com.google.android.widevine.nonupdatable
Change-Id: I7129d28ef1fbfddf4176849f5d6bbe9dcc6b3df1
This commit is contained in:
Kyle Zhang
2023-01-31 00:05:55 +00:00
parent 659301abd3
commit ca0a653b2d
4 changed files with 89 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
PRODUCT_PACKAGES += \
com.google.android.widevine.nonupdatable \
# Check if we can use dev keys
ifneq ($(wildcard vendor/google/dev-keystore),)
$(call soong_config_set,widevine,use_devkey,true)
endif
PRODUCT_VENDOR_LINKER_CONFIG_FRAGMENTS += \
vendor/widevine/libwvdrmengine/apex/device/linker.config.json