blob: 6d5d1eac4e29ba3554c6c3d3dbfada47f8e1bb4c [file] [log] [blame]
Andres Morales2d08dce2015-04-03 16:40:15 -07001#
2# Copyright (C) 2015 The Android Open Source 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)
20LOCAL_CFLAGS := -Wall -Wextra -Werror -Wunused
Andres Morales1cf7d252015-08-04 16:57:12 -070021LOCAL_SRC_FILES := \
22 SoftGateKeeperDevice.cpp \
23 IGateKeeperService.cpp \
Pavel Grafov9890f892017-06-28 19:03:58 +010024 gatekeeperd.cpp
Andres Morales1cf7d252015-08-04 16:57:12 -070025
Andres Morales2d08dce2015-04-03 16:40:15 -070026LOCAL_MODULE := gatekeeperd
27LOCAL_SHARED_LIBRARIES := \
28 libbinder \
Andres Morales33dfdc72015-05-12 15:37:20 -070029 libgatekeeper \
Andres Morales2d08dce2015-04-03 16:40:15 -070030 liblog \
31 libhardware \
Andres Moralesae242922015-05-18 09:26:19 -070032 libbase \
Andres Morales2d08dce2015-04-03 16:40:15 -070033 libutils \
Andres Morales33dfdc72015-05-12 15:37:20 -070034 libcrypto \
Dmitry Dementyev963daf22017-11-28 16:11:19 -080035 libkeystore_aidl \
Alexey Polyudov275aece2016-10-18 13:59:26 -070036 libkeystore_binder \
37 libhidlbase \
38 libhidltransport \
39 libhwbinder \
40 android.hardware.gatekeeper@1.0 \
41
Andres Morales33dfdc72015-05-12 15:37:20 -070042LOCAL_STATIC_LIBRARIES := libscrypt_static
43LOCAL_C_INCLUDES := external/scrypt/lib/crypto
Tom Cherry297991b2015-08-21 12:35:14 -070044LOCAL_INIT_RC := gatekeeperd.rc
Andres Morales2d08dce2015-04-03 16:40:15 -070045include $(BUILD_EXECUTABLE)
Andres Moralesae242922015-05-18 09:26:19 -070046
47include $(call first-makefiles-under,$(LOCAL_PATH))