blob: 0aaa7cd12d38d5e5296a4f46a16ecdb730946478 [file] [log] [blame]
LuK1337f267b8f2019-08-19 00:08:08 +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
17ifeq ($(TARGET_KEYMASTER_VARIANT),samsung)
18
19LOCAL_PATH := $(call my-dir)
20
21include $(CLEAR_VARS)
22
23LOCAL_SRC_FILES := \
24 service.cpp
25
26LOCAL_SHARED_LIBRARIES := \
27 android.hardware.keymaster@4.0 \
28 libbase \
29 libcutils \
30 libhardware \
31 libhidlbase \
32 libhidltransport \
33 libkeymaster4 \
34 liblog \
35 libskeymaster4device \
36 libutils
37
38LOCAL_MODULE := android.hardware.keymaster@4.0-service.samsung
39LOCAL_INIT_RC := android.hardware.keymaster@4.0-service.samsung.rc
40LOCAL_MODULE_RELATIVE_PATH := hw
41LOCAL_MODULE_TAGS := optional
42LOCAL_MODULE_OWNER := samsung
43LOCAL_VENDOR_MODULE := true
44
45include $(BUILD_EXECUTABLE)
46
47endif # TARGET_KEYMASTER_VARIANT