Fix build_test breakage

CI build_test target tests every product, which invokes the new
widevine_generic product out of the build script. This makes build fail
due to the missing TARGET_BASE_PRODUCT.

Fix it by fallback to module_arm as base product.

Bug: 281617982
Test: TH
Change-Id: I36d437a56609865e64aea86c5d3af02887b42bc7
This commit is contained in:
Jooyung Han
2023-05-13 07:34:07 +09:00
parent 13368f4076
commit 5a6c57b11a

View File

@@ -1,3 +1,8 @@
ifdef TARGET_BASE_PRODUCT
$(call inherit-product, $(TARGET_BASE_PRODUCT))
else
# Fallback to a valid base product to satisfy build_test
$(call inherit-product, $(SRC_TARGET_DIR)/product/module_arm.mk)
endif
include vendor/widevine/libwvdrmengine/apex/device/device.mk