Test: Compiles Bug: 332778013 Flag: build.fingerprint_debug_support Change-Id: I664cd653ecfc0ab112dcef2703a29259f423a47e
47 lines
1.5 KiB
Makefile
47 lines
1.5 KiB
Makefile
#
|
|
# Copyright 2021 The Android Open-Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
vendor/qcom/fingerprint/qfp-service
|
|
|
|
PRODUCT_PACKAGES += \
|
|
qfp-daemon
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
|
|
|
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/caimito/fingerprint/device_framework_matrix_product.xml
|
|
|
|
$(call soong_config_set,fp_hal_feature,biometric_suez_support,true)
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
persist.vendor.qfp.update_vfs_calib=1 \
|
|
persist.vendor.qfp.enable_setprop=0 \
|
|
log.tag.QFP=3
|
|
|
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
|
$(call soong_config_set,fp_hal_feature,fingerprint_debug_support,$(RELEASE_PIXEL_AIDL_FINGERPRINT_DEBUG_HAL))
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
vendor/qcom/fingerprint/QFPCalibration
|
|
|
|
PRODUCT_PACKAGES += \
|
|
QFPCalibration
|
|
endif
|
|
|
|
ifneq (,$(findstring factory, $(TARGET_PRODUCT)))
|
|
PRODUCT_PACKAGES += QfsFactoryTest
|
|
endif
|