1ifneq ($(TARGET_BUILD_VARIANT), user)
2  ifeq (,$(filter aosp_%, $(TARGET_PRODUCT))) # Skip aosp target product
3    PRODUCT_PACKAGES_DEBUG += \
4      Gyotaku
5
6      BOARD_SEPOLICY_DIRS += device/google/gs-common/gyotaku_app/sepolicy/
7
8      # Pixel 5a (barbet) does not support Pixel dump
9      ifeq (,$(filter barbet%,$(TARGET_PRODUCT)))
10        PRODUCT_PACKAGES_DEBUG += dump_gyotaku
11        BOARD_SEPOLICY_DIRS += device/google/gs-common/gyotaku_app/dump
12      endif
13  endif
14endif
15