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 | |
| 29 | LOCAL_C_INCLUDES := \ |
| 30 | android.hardware.nfc@1.0 \ |
| 31 | system/core/base/include \ |
| 32 | system/core/include \ |
| 33 | |
| 34 | LOCAL_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 | |
| 48 | LOCAL_CFLAGS += -DENABLE_TREBLE |
| 49 | |
| 50 | LOCAL_STATIC_LIBRARIES := \ |
| 51 | |
| 52 | LOCAL_PROTOC_OPTIMIZE_TYPE := full |
| 53 | |
| 54 | LOCAL_MULTILIB := both |
| 55 | |
| 56 | include $(BUILD_SHARED_LIBRARY) |
| 57 | |
Keun Soo Yim | 6473c64 | 2016-10-10 13:42:31 -0700 | [diff] [blame] | 58 | # build profiler for Nfc. |
| 59 | include $(CLEAR_VARS) |
| 60 | |
| 61 | LOCAL_MODULE := libvts_profiler_hidl_nfc@1.0 |
| 62 | |
| 63 | LOCAL_SRC_FILES := \ |
| 64 | Nfc.vts \ |
| 65 | types.vts \ |
| 66 | |
| 67 | LOCAL_C_INCLUDES += \ |
| 68 | test/vts/drivers/libprofiling \ |
| 69 | |
| 70 | LOCAL_VTS_MODE := PROFILER |
| 71 | |
| 72 | LOCAL_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 | |
| 85 | LOCAL_PROTOC_OPTIMIZE_TYPE := full |
| 86 | |
| 87 | include $(BUILD_SHARED_LIBRARY) |
| 88 | |
| 89 | # build profiler for NfcClientCallback. |
| 90 | include $(CLEAR_VARS) |
| 91 | |
| 92 | LOCAL_MODULE := libvts_profiler_hidl_nfc_client_callback_@1.0 |
| 93 | |
| 94 | LOCAL_SRC_FILES := \ |
| 95 | NfcClientCallback.vts \ |
| 96 | types.vts \ |
| 97 | |
| 98 | LOCAL_C_INCLUDES += \ |
| 99 | test/vts/drivers/libprofiling \ |
| 100 | |
| 101 | LOCAL_VTS_MODE := PROFILER |
| 102 | |
| 103 | LOCAL_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 | |
| 116 | LOCAL_PROTOC_OPTIMIZE_TYPE := full |
| 117 | |
| 118 | include $(BUILD_SHARED_LIBRARY) |