1 // This file was auto-generated. Do not edit manually. 2 // Use test/vts-testcase/hal/update_makefiles.py to generate this file. 3 4 // Generate .vts spec files. 5 hal2vts { 6 name: "android.hardware.nfc (a] 1.0-vts.spec", 7 srcs: [ 8 ":android.hardware.nfc (a] 1.0_hal", 9 ], 10 out: [ 11 "android/hardware/nfc/1.0/Nfc.vts", 12 "android/hardware/nfc/1.0/NfcClientCallback.vts", 13 "android/hardware/nfc/1.0/types.vts", 14 ], 15 } 16 17 // Build VTS driver. 18 genrule { 19 name: "android.hardware.nfc (a] 1.0-vts.driver_genc++", 20 tools: ["hidl-gen", "vtsc"], 21 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc (a] 1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/", 22 srcs: [ 23 ":android.hardware.nfc (a] 1.0_hal", 24 ], 25 out: [ 26 "android/hardware/nfc/1.0/Nfc.vts.cpp", 27 "android/hardware/nfc/1.0/NfcClientCallback.vts.cpp", 28 "android/hardware/nfc/1.0/types.vts.cpp", 29 ], 30 } 31 32 genrule { 33 name: "android.hardware.nfc (a] 1.0-vts.driver_genc++_headers", 34 tools: ["hidl-gen", "vtsc"], 35 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc (a] 1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/", 36 srcs: [ 37 ":android.hardware.nfc (a] 1.0_hal", 38 ], 39 out: [ 40 "android/hardware/nfc/1.0/Nfc.vts.h", 41 "android/hardware/nfc/1.0/NfcClientCallback.vts.h", 42 "android/hardware/nfc/1.0/types.vts.h", 43 ], 44 } 45 46 cc_library_shared { 47 name: "android.hardware.nfc (a] 1.0-vts.driver", 48 generated_sources: ["android.hardware.nfc (a] 1.0-vts.driver_genc++"], 49 generated_headers: ["android.hardware.nfc (a] 1.0-vts.driver_genc++_headers"], 50 export_generated_headers: ["android.hardware.nfc (a] 1.0-vts.driver_genc++_headers"], 51 shared_libs: [ 52 "libcamera_metadata", 53 "libcutils", 54 "libfmq", 55 "libhidlbase", 56 "libhidltransport", 57 "libhwbinder", 58 "liblog", 59 "libprotobuf-cpp-full", 60 "libutils", 61 "libvts_common", 62 "libvts_datatype", 63 "libvts_drivercomm", 64 "libvts_measurement", 65 "libvts_multidevice_proto", 66 "android.hidl.allocator (a] 1.0", 67 "android.hardware.nfc (a] 1.0", 68 69 ], 70 export_shared_lib_headers: [ 71 72 ], 73 cflags: [ 74 "-Wall", 75 "-Werror", 76 77 // These warnings are in code generated with vtsc 78 // b/31362043 79 "-Wno-duplicate-decl-specifier", 80 "-Wno-implicitly-unsigned-literal", 81 ], 82 } 83 84 // Build VTS profiler. 85 genrule { 86 name: "android.hardware.nfc (a] 1.0-vts.profiler_genc++", 87 tools: ["hidl-gen", "vtsc"], 88 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc (a] 1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/", 89 srcs: [ 90 ":android.hardware.nfc (a] 1.0_hal", 91 ], 92 out: [ 93 "android/hardware/nfc/1.0/Nfc.vts.cpp", 94 "android/hardware/nfc/1.0/NfcClientCallback.vts.cpp", 95 "android/hardware/nfc/1.0/types.vts.cpp", 96 ], 97 } 98 99 genrule { 100 name: "android.hardware.nfc (a] 1.0-vts.profiler_genc++_headers", 101 tools: ["hidl-gen", "vtsc"], 102 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc (a] 1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/", 103 srcs: [ 104 ":android.hardware.nfc (a] 1.0_hal", 105 ], 106 out: [ 107 "android/hardware/nfc/1.0/Nfc.vts.h", 108 "android/hardware/nfc/1.0/NfcClientCallback.vts.h", 109 "android/hardware/nfc/1.0/types.vts.h", 110 ], 111 } 112 113 cc_library_shared { 114 name: "android.hardware.nfc (a] 1.0-vts.profiler", 115 generated_sources: ["android.hardware.nfc (a] 1.0-vts.profiler_genc++"], 116 generated_headers: ["android.hardware.nfc (a] 1.0-vts.profiler_genc++_headers"], 117 export_generated_headers: ["android.hardware.nfc (a] 1.0-vts.profiler_genc++_headers"], 118 shared_libs: [ 119 "libbase", 120 "libcutils", 121 "libfmq", 122 "libhidlbase", 123 "libhidltransport", 124 "libvts_common", 125 "libvts_profiling", 126 "libvts_multidevice_proto", 127 "libprotobuf-cpp-full", 128 "android.hardware.nfc (a] 1.0", 129 130 ], 131 cflags: [ 132 "-Wall", 133 "-Werror", 134 135 // These warnings are in code generated with vtsc 136 // b/31362043 137 "-Wno-duplicate-decl-specifier", 138 "-Wno-implicitly-unsigned-literal", 139 ], 140 } 141 142