blob: b008b63557289f1211c8cc48b723fc0ab3594583 [file] [log] [blame]
Keun Soo Yim6473c642016-10-10 13:42:31 -07001#
2# Copyright (C) 2016 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
Keun Soo Yim3e788192016-10-10 17:18:29 -070019# build VTS driver for Nfc v1.0.
20include $(CLEAR_VARS)
21
22LOCAL_MODULE := libvts_driver_hidl_nfc@1.0
23
24LOCAL_SRC_FILES := \
25 Nfc.vts \
26 NfcClientCallback.vts \
27 types.vts \
28
Keun Soo Yim3e788192016-10-10 17:18:29 -070029LOCAL_SHARED_LIBRARIES += \
30 android.hardware.nfc@1.0 \
31 libbase \
32 libutils \
33 libcutils \
34 liblog \
Yifan Hong1ee98592016-11-16 14:17:58 -080035 libhidlbase \
36 libhidltransport \
Keun Soo Yim3e788192016-10-10 17:18:29 -070037 libhwbinder \
38 libprotobuf-cpp-full \
39 libvts_common \
40 libvts_datatype \
41 libvts_measurement \
42 libvts_multidevice_proto \
43
Keun Soo Yim3e788192016-10-10 17:18:29 -070044LOCAL_PROTOC_OPTIMIZE_TYPE := full
45
46LOCAL_MULTILIB := both
47
48include $(BUILD_SHARED_LIBRARY)
49
Keun Soo Yim6473c642016-10-10 13:42:31 -070050# build profiler for Nfc.
51include $(CLEAR_VARS)
52
53LOCAL_MODULE := libvts_profiler_hidl_nfc@1.0
54
55LOCAL_SRC_FILES := \
56 Nfc.vts \
57 types.vts \
58
59LOCAL_C_INCLUDES += \
60 test/vts/drivers/libprofiling \
61
62LOCAL_VTS_MODE := PROFILER
63
64LOCAL_SHARED_LIBRARIES := \
65 android.hardware.nfc@1.0 \
66 libbase \
67 libcutils \
68 liblog \
Yifan Hong1ee98592016-11-16 14:17:58 -080069 libhidlbase \
70 libhidltransport \
Keun Soo Yim6473c642016-10-10 13:42:31 -070071 libhwbinder \
72 libprotobuf-cpp-full \
73 libvts_common \
74 libvts_multidevice_proto \
75 libvts_profiling \
76 libutils \
77
78LOCAL_PROTOC_OPTIMIZE_TYPE := full
79
80include $(BUILD_SHARED_LIBRARY)
81
82# build profiler for NfcClientCallback.
83include $(CLEAR_VARS)
84
85LOCAL_MODULE := libvts_profiler_hidl_nfc_client_callback_@1.0
86
87LOCAL_SRC_FILES := \
88 NfcClientCallback.vts \
89 types.vts \
90
91LOCAL_C_INCLUDES += \
92 test/vts/drivers/libprofiling \
93
94LOCAL_VTS_MODE := PROFILER
95
96LOCAL_SHARED_LIBRARIES := \
97 android.hardware.nfc@1.0 \
98 libbase \
99 libcutils \
100 liblog \
Yifan Hong1ee98592016-11-16 14:17:58 -0800101 libhidlbase \
102 libhidltransport \
Keun Soo Yim6473c642016-10-10 13:42:31 -0700103 libhwbinder \
104 libprotobuf-cpp-full \
105 libvts_common \
106 libvts_multidevice_proto \
107 libvts_profiling \
108 libutils \
109
110LOCAL_PROTOC_OPTIMIZE_TYPE := full
111
112include $(BUILD_SHARED_LIBRARY)
Keun Soo Yimec7746f2016-11-17 15:49:13 -0800113
114include $(call all-makefiles-under,$(LOCAL_PATH))