1# 2# Copyright 2021 The Android Open-Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17PRODUCT_SOONG_NAMESPACES += \ 18 vendor/qcom/fingerprint/qfp-service 19 20PRODUCT_PACKAGES += \ 21 qfp-daemon 22 23PRODUCT_COPY_FILES += \ 24 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml 25 26DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/caimito/fingerprint/device_framework_matrix_product.xml 27 28$(call soong_config_set,fp_hal_feature,biometric_suez_support,true) 29 30PRODUCT_PROPERTY_OVERRIDES += \ 31 persist.vendor.qfp.update_vfs_calib=1 \ 32 persist.vendor.qfp.enable_setprop=0 \ 33 log.tag.QFP=3 34 35ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 36PRODUCT_SOONG_NAMESPACES += \ 37 vendor/qcom/fingerprint/QFPCalibration 38 39PRODUCT_PACKAGES += \ 40 QFPCalibration 41endif 42 43ifneq (,$(findstring factory, $(TARGET_PRODUCT))) 44PRODUCT_PACKAGES += QfsFactoryTest 45endif 46