device_google_felix/fingerprint_config.mk
eddielan ce6c56f576 fingerprint: Set power_key node
Bug: 253179270
Test: Build pass, check power_key log on device
Change-Id: I3b7f73ca9a5955ea58d2610889cf2cff03df49aa
2022-10-12 17:33:07 +08:00

8 lines
281 B
Makefile

# Factory build, use HIDL hal & extension so that we can use Test tool
ifneq ( ,$(findstring factory, $(TARGET_PRODUCT)))
GOOGLE_CONFIG_FP_STATUS=1
FPC_CONFIG_TRUSTY_CLEAN_TA=1
else
# Non factory build, use fingerprint AIDL version
GOOGLE_CONFIG_POWER_NODE=/dev/input/event1
endif