blob: 6f63e03e24a9c97425c6e3a32263ed65b6d9c3a6 [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
29LOCAL_C_INCLUDES := \
30 android.hardware.nfc@1.0 \
31 system/core/base/include \
32 system/core/include \
33
34LOCAL_SHARED_LIBRARIES += \
35 android.hardware.nfc@1.0 \
36 libbase \
37 libutils \
38 libcutils \
39 liblog \
40 libhidl \
41 libhwbinder \
42 libprotobuf-cpp-full \
43 libvts_common \
44 libvts_datatype \
45 libvts_measurement \
46 libvts_multidevice_proto \
47
48LOCAL_CFLAGS += -DENABLE_TREBLE
49
50LOCAL_STATIC_LIBRARIES := \
51
52LOCAL_PROTOC_OPTIMIZE_TYPE := full
53
54LOCAL_MULTILIB := both
55
56include $(BUILD_SHARED_LIBRARY)
57
Keun Soo Yim6473c642016-10-10 13:42:31 -070058# build profiler for Nfc.
59include $(CLEAR_VARS)
60
61LOCAL_MODULE := libvts_profiler_hidl_nfc@1.0
62
63LOCAL_SRC_FILES := \
64 Nfc.vts \
65 types.vts \
66
67LOCAL_C_INCLUDES += \
68 test/vts/drivers/libprofiling \
69
70LOCAL_VTS_MODE := PROFILER
71
72LOCAL_SHARED_LIBRARIES := \
73 android.hardware.nfc@1.0 \
74 libbase \
75 libcutils \
76 liblog \
77 libhidl \
78 libhwbinder \
79 libprotobuf-cpp-full \
80 libvts_common \
81 libvts_multidevice_proto \
82 libvts_profiling \
83 libutils \
84
85LOCAL_PROTOC_OPTIMIZE_TYPE := full
86
87include $(BUILD_SHARED_LIBRARY)
88
89# build profiler for NfcClientCallback.
90include $(CLEAR_VARS)
91
92LOCAL_MODULE := libvts_profiler_hidl_nfc_client_callback_@1.0
93
94LOCAL_SRC_FILES := \
95 NfcClientCallback.vts \
96 types.vts \
97
98LOCAL_C_INCLUDES += \
99 test/vts/drivers/libprofiling \
100
101LOCAL_VTS_MODE := PROFILER
102
103LOCAL_SHARED_LIBRARIES := \
104 android.hardware.nfc@1.0 \
105 libbase \
106 libcutils \
107 liblog \
108 libhidl \
109 libhwbinder \
110 libprotobuf-cpp-full \
111 libvts_common \
112 libvts_multidevice_proto \
113 libvts_profiling \
114 libutils \
115
116LOCAL_PROTOC_OPTIMIZE_TYPE := full
117
118include $(BUILD_SHARED_LIBRARY)