Only include QfpCalibration on userdebug / eng builds
Bug: 331464683 Test: Ensure QfpCalibration is on userdebug / eng biulds and not on user builds. Change-Id: I815b9999e0e74ac5c1dedf51951de21f992630f6
This commit is contained in:
parent
ea29f703a9
commit
d9aefec54a
1 changed files with 6 additions and 3 deletions
|
@ -17,12 +17,10 @@
|
|||
PRODUCT_SOONG_NAMESPACES += \
|
||||
vendor/qcom/fingerprint/qfp-service \
|
||||
vendor/qcom/fingerprint/QFingerprintService \
|
||||
vendor/qcom/fingerprint/QFPCalibration \
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
qfp-daemon \
|
||||
QFingerprintService \
|
||||
QFPCalibration \
|
||||
QFingerprintService
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
||||
|
@ -36,6 +34,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
persist.vendor.qfp.enable_setprop=0 \
|
||||
log.tag.QFP=3
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
vendor/qcom/fingerprint/QFPCalibration
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring factory, $(TARGET_PRODUCT)))
|
||||
PRODUCT_PACKAGES += QfsFactoryTest
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue