Keun Soo Yim | 6473c64 | 2016-10-10 13:42:31 -0700 | [diff] [blame] | 1 | # |
| 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | |
Keun Soo Yim | 3e78819 | 2016-10-10 17:18:29 -0700 | [diff] [blame] | 19 | # build VTS driver for Nfc v1.0. |
| 20 | include $(CLEAR_VARS) |
| 21 | |
| 22 | LOCAL_MODULE := libvts_driver_hidl_nfc@1.0 |
| 23 | |
| 24 | LOCAL_SRC_FILES := \ |
| 25 | Nfc.vts \ |
| 26 | NfcClientCallback.vts \ |
| 27 | types.vts \ |
| 28 | |
Keun Soo Yim | 3e78819 | 2016-10-10 17:18:29 -0700 | [diff] [blame] | 29 | LOCAL_SHARED_LIBRARIES += \ |
| 30 | android.hardware.nfc@1.0 \ |
| 31 | libbase \ |
| 32 | libutils \ |
| 33 | libcutils \ |
| 34 | liblog \ |
Yifan Hong | 1ee9859 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 35 | libhidlbase \ |
| 36 | libhidltransport \ |
Keun Soo Yim | 3e78819 | 2016-10-10 17:18:29 -0700 | [diff] [blame] | 37 | libhwbinder \ |
| 38 | libprotobuf-cpp-full \ |
| 39 | libvts_common \ |
| 40 | libvts_datatype \ |
| 41 | libvts_measurement \ |
| 42 | libvts_multidevice_proto \ |
| 43 | |
Keun Soo Yim | 3e78819 | 2016-10-10 17:18:29 -0700 | [diff] [blame] | 44 | LOCAL_PROTOC_OPTIMIZE_TYPE := full |
| 45 | |
| 46 | LOCAL_MULTILIB := both |
| 47 | |
| 48 | include $(BUILD_SHARED_LIBRARY) |
| 49 | |
Keun Soo Yim | 6473c64 | 2016-10-10 13:42:31 -0700 | [diff] [blame] | 50 | # build profiler for Nfc. |
| 51 | include $(CLEAR_VARS) |
| 52 | |
| 53 | LOCAL_MODULE := libvts_profiler_hidl_nfc@1.0 |
| 54 | |
| 55 | LOCAL_SRC_FILES := \ |
| 56 | Nfc.vts \ |
| 57 | types.vts \ |
| 58 | |
| 59 | LOCAL_C_INCLUDES += \ |
| 60 | test/vts/drivers/libprofiling \ |
| 61 | |
| 62 | LOCAL_VTS_MODE := PROFILER |
| 63 | |
| 64 | LOCAL_SHARED_LIBRARIES := \ |
| 65 | android.hardware.nfc@1.0 \ |
| 66 | libbase \ |
| 67 | libcutils \ |
| 68 | liblog \ |
Yifan Hong | 1ee9859 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 69 | libhidlbase \ |
| 70 | libhidltransport \ |
Keun Soo Yim | 6473c64 | 2016-10-10 13:42:31 -0700 | [diff] [blame] | 71 | libhwbinder \ |
| 72 | libprotobuf-cpp-full \ |
| 73 | libvts_common \ |
| 74 | libvts_multidevice_proto \ |
| 75 | libvts_profiling \ |
| 76 | libutils \ |
| 77 | |
| 78 | LOCAL_PROTOC_OPTIMIZE_TYPE := full |
| 79 | |
| 80 | include $(BUILD_SHARED_LIBRARY) |
| 81 | |
| 82 | # build profiler for NfcClientCallback. |
| 83 | include $(CLEAR_VARS) |
| 84 | |
| 85 | LOCAL_MODULE := libvts_profiler_hidl_nfc_client_callback_@1.0 |
| 86 | |
| 87 | LOCAL_SRC_FILES := \ |
| 88 | NfcClientCallback.vts \ |
| 89 | types.vts \ |
| 90 | |
| 91 | LOCAL_C_INCLUDES += \ |
| 92 | test/vts/drivers/libprofiling \ |
| 93 | |
| 94 | LOCAL_VTS_MODE := PROFILER |
| 95 | |
| 96 | LOCAL_SHARED_LIBRARIES := \ |
| 97 | android.hardware.nfc@1.0 \ |
| 98 | libbase \ |
| 99 | libcutils \ |
| 100 | liblog \ |
Yifan Hong | 1ee9859 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 101 | libhidlbase \ |
| 102 | libhidltransport \ |
Keun Soo Yim | 6473c64 | 2016-10-10 13:42:31 -0700 | [diff] [blame] | 103 | libhwbinder \ |
| 104 | libprotobuf-cpp-full \ |
| 105 | libvts_common \ |
| 106 | libvts_multidevice_proto \ |
| 107 | libvts_profiling \ |
| 108 | libutils \ |
| 109 | |
| 110 | LOCAL_PROTOC_OPTIMIZE_TYPE := full |
| 111 | |
| 112 | include $(BUILD_SHARED_LIBRARY) |
Keun Soo Yim | ec7746f | 2016-11-17 15:49:13 -0800 | [diff] [blame] | 113 | |
| 114 | include $(call all-makefiles-under,$(LOCAL_PATH)) |