fingerprint: Enable extension bug feature on userdebug build
Bug: 222175797 Test: make fps_ext_bug_lib -j112 Test: Check logcat log on device & betterbug being triggered Change-Id: I95218c593ee614234d60f1d411332a398416923a
This commit is contained in:
parent
7405fbe23a
commit
52bda3cb87
1 changed files with 12 additions and 8 deletions
|
@ -1,10 +1,14 @@
|
|||
# Fingerprint extension feature
|
||||
ifneq (,$(filter userdebug, $(TARGET_BUILD_VARIANT)))
|
||||
$(call soong_config_set,fp_hal_feature,report_bug_support,true)
|
||||
BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/fingerprint-extension/vendor/
|
||||
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/fingerprint-extension/system_ext/public/
|
||||
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/fingerprint-extension/system_ext/private/
|
||||
PRODUCT_PACKAGES += \
|
||||
fps_ext_bug_lib \
|
||||
fingerprint.extension.sh
|
||||
ifneq (,$(filter aosp% factory%, $(TARGET_PRODUCT)))
|
||||
# Skip if device is AOSP or factory build
|
||||
else
|
||||
ifneq (,$(filter userdebug, $(TARGET_BUILD_VARIANT)))
|
||||
$(call soong_config_set,fp_hal_feature,report_bug_support,true)
|
||||
BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/fingerprint-extension/vendor/
|
||||
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/fingerprint-extension/system_ext/public/
|
||||
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/fingerprint-extension/system_ext/private/
|
||||
PRODUCT_PACKAGES += \
|
||||
fps_ext_bug_lib \
|
||||
fingerprint.extension.sh
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue