Filter out TV GSI build targets

Bug: 228179256
Bug: 226020975
Test: lunch gsi_tv_arm-userdebug and gsi_tv_arm64-userdebug
Change-Id: Idee55259d5f24638895afd6eaf76cdf854e5807f
This commit is contained in:
Hongguang 2022-04-13 16:41:05 -07:00 committed by Hongguang Chen
parent ef72d2822e
commit bbe4842e31

View file

@ -457,7 +457,7 @@ endif
# Show a warning wall of text if non-compliance-GSI products set this option.
ifdef PRODUCT_INSTALL_DEBUG_POLICY_TO_SYSTEM_EXT
ifeq (,$(filter gsi_arm gsi_arm64 gsi_x86 gsi_x86_64 gsi_car_arm64 gsi_car_x86_64,$(PRODUCT_NAME)))
ifeq (,$(filter gsi_arm gsi_arm64 gsi_x86 gsi_x86_64 gsi_car_arm64 gsi_car_x86_64 gsi_tv_arm gsi_tv_arm64,$(PRODUCT_NAME)))
$(warning PRODUCT_INSTALL_DEBUG_POLICY_TO_SYSTEM_EXT is set but \
PRODUCT_NAME ($(PRODUCT_NAME)) doesn't look like a GSI for compliance \
testing. This is a special configuration for compliance GSI, so do make \