Merge "Create different targets for each Widevine apex" into udc-dev am: c01cd91d92
Original change: https://googleplex-android-review.googlesource.com/c/platform/vendor/widevine/+/22604302 Change-Id: Ic43da161a9098b9907029deea70a75198a294dfa Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
PRODUCT_PACKAGES += \
|
||||
com.google.android.widevine.lazy \
|
||||
|
||||
# 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
|
||||
@@ -1,10 +0,0 @@
|
||||
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
|
||||
@@ -1,5 +1,16 @@
|
||||
PRODUCT_PACKAGES += \
|
||||
com.google.android.widevine \
|
||||
# Declare source_build soong config variable.
|
||||
# Usage:
|
||||
# Pass `SOONG_CONFIG_widevine_module_source_build=true` to build the Widevine
|
||||
# APEX from source.
|
||||
$(call soong_config_set,widevine_module,source_build,$(call soong_config_get,widevine_module,source_build))
|
||||
|
||||
ifeq ($(TARGET_BUILD_WIDEVINE),nonupdatable)
|
||||
PRODUCT_PACKAGES += com.google.android.widevine.nonupdatable
|
||||
else ifeq ($(TARGET_BUILD_WIDEVINE),lazy)
|
||||
PRODUCT_PACKAGES += com.google.android.widevine.lazy
|
||||
else
|
||||
PRODUCT_PACKAGES += com.google.android.widevine
|
||||
endif
|
||||
|
||||
# Check if we can use dev keys
|
||||
ifneq ($(wildcard vendor/google/dev-keystore),)
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user