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.media.omx (a] 1.0-vts.spec", 7 srcs: [ 8 ":android.hardware.media.omx (a] 1.0_hal", 9 ], 10 out: [ 11 "android/hardware/media/omx/1.0/GraphicBufferSource.vts", 12 "android/hardware/media/omx/1.0/Omx.vts", 13 "android/hardware/media/omx/1.0/OmxBufferSource.vts", 14 "android/hardware/media/omx/1.0/OmxNode.vts", 15 "android/hardware/media/omx/1.0/OmxObserver.vts", 16 "android/hardware/media/omx/1.0/OmxStore.vts", 17 "android/hardware/media/omx/1.0/types.vts", 18 ], 19 } 20 21 // Build VTS driver. 22 genrule { 23 name: "android.hardware.media.omx (a] 1.0-vts.driver_genc++", 24 tools: ["hidl-gen", "vtsc"], 25 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media.omx (a] 1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/media/omx/1.0/ $(genDir)/android/hardware/media/omx/1.0/", 26 srcs: [ 27 ":android.hardware.media.omx (a] 1.0_hal", 28 ], 29 out: [ 30 "android/hardware/media/omx/1.0/GraphicBufferSource.vts.cpp", 31 "android/hardware/media/omx/1.0/Omx.vts.cpp", 32 "android/hardware/media/omx/1.0/OmxBufferSource.vts.cpp", 33 "android/hardware/media/omx/1.0/OmxNode.vts.cpp", 34 "android/hardware/media/omx/1.0/OmxObserver.vts.cpp", 35 "android/hardware/media/omx/1.0/OmxStore.vts.cpp", 36 "android/hardware/media/omx/1.0/types.vts.cpp", 37 ], 38 } 39 40 genrule { 41 name: "android.hardware.media.omx (a] 1.0-vts.driver_genc++_headers", 42 tools: ["hidl-gen", "vtsc"], 43 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media.omx (a] 1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/media/omx/1.0/ $(genDir)/android/hardware/media/omx/1.0/", 44 srcs: [ 45 ":android.hardware.media.omx (a] 1.0_hal", 46 ], 47 out: [ 48 "android/hardware/media/omx/1.0/GraphicBufferSource.vts.h", 49 "android/hardware/media/omx/1.0/Omx.vts.h", 50 "android/hardware/media/omx/1.0/OmxBufferSource.vts.h", 51 "android/hardware/media/omx/1.0/OmxNode.vts.h", 52 "android/hardware/media/omx/1.0/OmxObserver.vts.h", 53 "android/hardware/media/omx/1.0/OmxStore.vts.h", 54 "android/hardware/media/omx/1.0/types.vts.h", 55 ], 56 } 57 58 cc_library_shared { 59 name: "android.hardware.media.omx (a] 1.0-vts.driver", 60 generated_sources: ["android.hardware.media.omx (a] 1.0-vts.driver_genc++"], 61 generated_headers: ["android.hardware.media.omx (a] 1.0-vts.driver_genc++_headers"], 62 export_generated_headers: ["android.hardware.media.omx (a] 1.0-vts.driver_genc++_headers"], 63 shared_libs: [ 64 "libcamera_metadata", 65 "libcutils", 66 "libfmq", 67 "libhidlbase", 68 "libhidltransport", 69 "libhwbinder", 70 "liblog", 71 "libprotobuf-cpp-full", 72 "libutils", 73 "libvts_common", 74 "libvts_datatype", 75 "libvts_drivercomm", 76 "libvts_measurement", 77 "libvts_multidevice_proto", 78 "android.hidl.allocator (a] 1.0", 79 "android.hardware.media.omx (a] 1.0", 80 "android.hardware.graphics.bufferqueue (a] 1.0", 81 "android.hardware.graphics.bufferqueue (a] 1.0-vts.driver", 82 "android.hardware.graphics.common (a] 1.0", 83 "android.hardware.graphics.common (a] 1.0-vts.driver", 84 "android.hardware.media (a] 1.0", 85 "android.hardware.media (a] 1.0-vts.driver", 86 ], 87 export_shared_lib_headers: [ 88 "android.hardware.graphics.bufferqueue (a] 1.0", 89 "android.hardware.graphics.bufferqueue (a] 1.0-vts.driver", 90 "android.hardware.graphics.common (a] 1.0", 91 "android.hardware.graphics.common (a] 1.0-vts.driver", 92 "android.hardware.media (a] 1.0", 93 "android.hardware.media (a] 1.0-vts.driver", 94 ], 95 cflags: [ 96 "-Wall", 97 "-Werror", 98 99 // These warnings are in code generated with vtsc 100 // b/31362043 101 "-Wno-duplicate-decl-specifier", 102 "-Wno-implicitly-unsigned-literal", 103 ], 104 } 105 106 // Build VTS profiler. 107 genrule { 108 name: "android.hardware.media.omx (a] 1.0-vts.profiler_genc++", 109 tools: ["hidl-gen", "vtsc"], 110 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media.omx (a] 1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/media/omx/1.0/ $(genDir)/android/hardware/media/omx/1.0/", 111 srcs: [ 112 ":android.hardware.media.omx (a] 1.0_hal", 113 ], 114 out: [ 115 "android/hardware/media/omx/1.0/GraphicBufferSource.vts.cpp", 116 "android/hardware/media/omx/1.0/Omx.vts.cpp", 117 "android/hardware/media/omx/1.0/OmxBufferSource.vts.cpp", 118 "android/hardware/media/omx/1.0/OmxNode.vts.cpp", 119 "android/hardware/media/omx/1.0/OmxObserver.vts.cpp", 120 "android/hardware/media/omx/1.0/OmxStore.vts.cpp", 121 "android/hardware/media/omx/1.0/types.vts.cpp", 122 ], 123 } 124 125 genrule { 126 name: "android.hardware.media.omx (a] 1.0-vts.profiler_genc++_headers", 127 tools: ["hidl-gen", "vtsc"], 128 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media.omx (a] 1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/media/omx/1.0/ $(genDir)/android/hardware/media/omx/1.0/", 129 srcs: [ 130 ":android.hardware.media.omx (a] 1.0_hal", 131 ], 132 out: [ 133 "android/hardware/media/omx/1.0/GraphicBufferSource.vts.h", 134 "android/hardware/media/omx/1.0/Omx.vts.h", 135 "android/hardware/media/omx/1.0/OmxBufferSource.vts.h", 136 "android/hardware/media/omx/1.0/OmxNode.vts.h", 137 "android/hardware/media/omx/1.0/OmxObserver.vts.h", 138 "android/hardware/media/omx/1.0/OmxStore.vts.h", 139 "android/hardware/media/omx/1.0/types.vts.h", 140 ], 141 } 142 143 cc_library_shared { 144 name: "android.hardware.media.omx (a] 1.0-vts.profiler", 145 generated_sources: ["android.hardware.media.omx (a] 1.0-vts.profiler_genc++"], 146 generated_headers: ["android.hardware.media.omx (a] 1.0-vts.profiler_genc++_headers"], 147 export_generated_headers: ["android.hardware.media.omx (a] 1.0-vts.profiler_genc++_headers"], 148 shared_libs: [ 149 "libbase", 150 "libcutils", 151 "libfmq", 152 "libhidlbase", 153 "libhidltransport", 154 "libvts_common", 155 "libvts_profiling", 156 "libvts_multidevice_proto", 157 "libprotobuf-cpp-full", 158 "android.hardware.media.omx (a] 1.0", 159 "android.hardware.graphics.bufferqueue (a] 1.0", 160 "android.hardware.graphics.bufferqueue (a] 1.0-vts.profiler", 161 "android.hardware.graphics.common (a] 1.0", 162 "android.hardware.graphics.common (a] 1.0-vts.profiler", 163 "android.hardware.media (a] 1.0", 164 "android.hardware.media (a] 1.0-vts.profiler", 165 ], 166 cflags: [ 167 "-Wall", 168 "-Werror", 169 170 // These warnings are in code generated with vtsc 171 // b/31362043 172 "-Wno-duplicate-decl-specifier", 173 "-Wno-implicitly-unsigned-literal", 174 ], 175 } 176 177