[Gyotaku] Update the build rule to exclude build Gyotaku dump for barbet

Pixel 5a (barbet) does not support Pixel dump, we need to exclude build
Pixel dump for Pixel 5a (barbet). The git_24Q2-beta-release TARGET_PRODUCT is barbet_beta, updated to barbet% for all barbet target products.

Bug: 330819191

Test: Local build and trigger a new build the result passed

Change-Id: I2c1785105bab74a483bc68893d96a8a88eabfd90
This commit is contained in:
Klines Jiang 2024-03-25 08:58:41 +00:00
parent 7429882fba
commit d4de4ddf90

View File

@ -6,7 +6,7 @@ ifneq ($(TARGET_BUILD_VARIANT), user)
BOARD_SEPOLICY_DIRS += device/google/gs-common/gyotaku_app/sepolicy/
# Pixel 5a (barbet) does not support Pixel dump
ifneq ($(TARGET_PRODUCT), barbet)
ifeq (,$(filter barbet%,$(TARGET_PRODUCT)))
PRODUCT_PACKAGES_DEBUG += dump_gyotaku
BOARD_SEPOLICY_DIRS += device/google/gs-common/gyotaku_app/dump
endif