sanders: Build a 32 bit version of rild and fp service

For now we're using 32 bits from stock, for both services. So use it until 64 bits blobs are ready

Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
This commit is contained in:
jhenrique09
2018-01-05 13:31:25 -02:00
committed by therootlord
parent b516265ac6
commit 050a82ccae
7 changed files with 77 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.biometrics.fingerprint@2.1-service_32
LOCAL_INIT_RC := android.hardware.biometrics.fingerprint@2.1-service_32.rc
LOCAL_PROPRIETARY_MODULE := true
LOCAL_32_BIT_ONLY := true
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := \
../../../../../hardware/interfaces/biometrics/fingerprint/2.1/default/BiometricsFingerprint.cpp \
../../../../../hardware/interfaces/biometrics/fingerprint/2.1/default/service.cpp
LOCAL_SHARED_LIBRARIES := \
libcutils \
liblog \
libhidlbase \
libhidltransport \
libhardware \
libutils \
android.hardware.biometrics.fingerprint@2.1
include $(BUILD_EXECUTABLE)

View File

@@ -0,0 +1,7 @@
service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service_32
# "class hal" causes a race condition on some devices due to files created
# in /data. As a workaround, postpone startup until later in boot once
# /data is mounted.
class late_start
user system
group system input