unplugged-vendor/vendor/unplugged/proprietary/packages/Fingerprint/BoardConfig.mk

70 lines
3.2 KiB
Makefile
Executable File

ifneq (,$(strip $(UP_SUPPORT_FINGERPRINT_CHIP)))
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), blestech_tee),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/blestech/tee/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), blestech_ree),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/blestech/ree/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), chipone_tee),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/chipone/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), chipone_ree),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/chipone/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), microarray_tee_back),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/microarray_back/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), microarray_ree_back),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/microarray_back/sepolicy
endif
#focaltech
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), focaltech_tee),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/focaltech/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), focaltech_ree),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/focaltech/ree/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), sunwave_tee fortsense_tee sunwave_9022_tee sunwave_ree),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/sunwave/sepolicy
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/sunwave/tee/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), fortsense_ree),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/sunwave/sepolicy
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/sunwave/tee/sepolicy
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/fortsense/ree/sepolicy
endif
ifeq (yes,$(strip $(SILEAD_FP_SUPPORT)))
include vendor/unplugged/proprietary/packages/Fingerprint/silead/products/sepolicy.mk
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), goodix_gf3206_tee),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/goodix/tee/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), goodix_gf3258_tee),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/goodix/tee/gf3258/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), goodix_dk_3216_tee),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/goodix/tee/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), cdfiner_fps958e_tee),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/cdfinger/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), cdfiner_fps988_tee),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/cdfinger/sepolicy
endif
ifneq ($(filter $(UP_SUPPORT_FINGERPRINT_CHIP), chipsailing_tee),)
BOARD_SEPOLICY_DIRS += vendor/unplugged/proprietary/packages/Fingerprint/chipsailing/tee/sepolicy
endif