blob: 8f644b068ee38b1dfc4ab161bd3931db885d887f [file] [log] [blame]
Jan Altensen1813ff92019-08-20 23:20:25 +02001#
2# Copyright (C) 2019 The LineageOS Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
20
21LOCAL_SRC_FILES := \
22 BiometricsFingerprint.cpp \
23 service.cpp
24
25LOCAL_SHARED_LIBRARIES := \
26 libbase \
27 libhardware \
28 libhidlbase \
29 libhidltransport \
30 liblog \
31 libutils \
32 android.hardware.biometrics.fingerprint@2.1
33
34ifeq ($(TARGET_SEC_FP_USES_PERCENTAGE_SAMPLES),true)
35 LOCAL_CFLAGS += -DUSES_PERCENTAGE_SAMPLES
36endif
37
38LOCAL_MODULE := android.hardware.biometrics.fingerprint@2.1-service.samsung
39LOCAL_INIT_RC := android.hardware.biometrics.fingerprint@2.1-service.samsung.rc
40LOCAL_MODULE_RELATIVE_PATH := hw
41LOCAL_MODULE_TAGS := optional
42LOCAL_MODULE_OWNER := samsung
43LOCAL_VENDOR_MODULE := true
44
45include $(BUILD_EXECUTABLE)