potter: add basic 2.0 -> 2.1 fingerprint HAL wrapper

Change-Id: I27963bfb1402aba10e4ceba669520b630d075abf
This commit is contained in:
LuK1337
2017-09-08 13:46:20 +02:00
committed by Vachounet
parent 001ef83dbd
commit 6437c98d28
3 changed files with 230 additions and 1 deletions

32
fingerprint/Android.mk Normal file
View File

@@ -0,0 +1,32 @@
#
# Copyright (C) 2017 The LineageOS 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.
#
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
FingerprintWrapper.cpp
LOCAL_SHARED_LIBRARIES := \
libhardware liblog
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_MODULE := fingerprint.msm8953
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)