Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 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.audio.effect@2.0-vts.spec", |
| 7 | srcs: [ |
| 8 | ":android.hardware.audio.effect@2.0_hal", |
| 9 | ], |
| 10 | out: [ |
| 11 | "android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts", |
| 12 | "android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts", |
| 13 | "android/hardware/audio/effect/2.0/BassBoostEffect.vts", |
| 14 | "android/hardware/audio/effect/2.0/DownmixEffect.vts", |
| 15 | "android/hardware/audio/effect/2.0/Effect.vts", |
| 16 | "android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts", |
| 17 | "android/hardware/audio/effect/2.0/EffectsFactory.vts", |
| 18 | "android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts", |
| 19 | "android/hardware/audio/effect/2.0/EqualizerEffect.vts", |
| 20 | "android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts", |
| 21 | "android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts", |
| 22 | "android/hardware/audio/effect/2.0/PresetReverbEffect.vts", |
| 23 | "android/hardware/audio/effect/2.0/VirtualizerEffect.vts", |
| 24 | "android/hardware/audio/effect/2.0/VisualizerEffect.vts", |
| 25 | "android/hardware/audio/effect/2.0/types.vts", |
| 26 | ], |
| 27 | } |
| 28 | |
| 29 | // Build VTS driver. |
| 30 | genrule { |
Jae Shin | efb6bd8 | 2017-03-24 16:31:14 +0900 | [diff] [blame] | 31 | name: "android.hardware.audio.effect@2.0-vts.driver_genc++", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 32 | tools: ["hidl-gen", "vtsc"], |
| 33 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio.effect@2.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/audio/effect/2.0/ $(genDir)/android/hardware/audio/effect/2.0/", |
| 34 | srcs: [ |
| 35 | ":android.hardware.audio.effect@2.0_hal", |
| 36 | ], |
| 37 | out: [ |
| 38 | "android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.cpp", |
| 39 | "android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.cpp", |
| 40 | "android/hardware/audio/effect/2.0/BassBoostEffect.vts.cpp", |
| 41 | "android/hardware/audio/effect/2.0/DownmixEffect.vts.cpp", |
| 42 | "android/hardware/audio/effect/2.0/Effect.vts.cpp", |
| 43 | "android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.cpp", |
| 44 | "android/hardware/audio/effect/2.0/EffectsFactory.vts.cpp", |
| 45 | "android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.cpp", |
| 46 | "android/hardware/audio/effect/2.0/EqualizerEffect.vts.cpp", |
| 47 | "android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.cpp", |
| 48 | "android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.cpp", |
| 49 | "android/hardware/audio/effect/2.0/PresetReverbEffect.vts.cpp", |
| 50 | "android/hardware/audio/effect/2.0/VirtualizerEffect.vts.cpp", |
| 51 | "android/hardware/audio/effect/2.0/VisualizerEffect.vts.cpp", |
| 52 | "android/hardware/audio/effect/2.0/types.vts.cpp", |
| 53 | ], |
| 54 | } |
| 55 | |
| 56 | genrule { |
Jae Shin | efb6bd8 | 2017-03-24 16:31:14 +0900 | [diff] [blame] | 57 | name: "android.hardware.audio.effect@2.0-vts.driver_genc++_headers", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 58 | tools: ["hidl-gen", "vtsc"], |
| 59 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio.effect@2.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/audio/effect/2.0/ $(genDir)/android/hardware/audio/effect/2.0/", |
| 60 | srcs: [ |
| 61 | ":android.hardware.audio.effect@2.0_hal", |
| 62 | ], |
| 63 | out: [ |
| 64 | "android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.h", |
| 65 | "android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.h", |
| 66 | "android/hardware/audio/effect/2.0/BassBoostEffect.vts.h", |
| 67 | "android/hardware/audio/effect/2.0/DownmixEffect.vts.h", |
| 68 | "android/hardware/audio/effect/2.0/Effect.vts.h", |
| 69 | "android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.h", |
| 70 | "android/hardware/audio/effect/2.0/EffectsFactory.vts.h", |
| 71 | "android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.h", |
| 72 | "android/hardware/audio/effect/2.0/EqualizerEffect.vts.h", |
| 73 | "android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.h", |
| 74 | "android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.h", |
| 75 | "android/hardware/audio/effect/2.0/PresetReverbEffect.vts.h", |
| 76 | "android/hardware/audio/effect/2.0/VirtualizerEffect.vts.h", |
| 77 | "android/hardware/audio/effect/2.0/VisualizerEffect.vts.h", |
| 78 | "android/hardware/audio/effect/2.0/types.vts.h", |
| 79 | ], |
| 80 | } |
| 81 | |
| 82 | cc_library_shared { |
Jae Shin | efb6bd8 | 2017-03-24 16:31:14 +0900 | [diff] [blame] | 83 | name: "android.hardware.audio.effect@2.0-vts.driver", |
| 84 | generated_sources: ["android.hardware.audio.effect@2.0-vts.driver_genc++"], |
| 85 | generated_headers: ["android.hardware.audio.effect@2.0-vts.driver_genc++_headers"], |
| 86 | export_generated_headers: ["android.hardware.audio.effect@2.0-vts.driver_genc++_headers"], |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 87 | shared_libs: [ |
| 88 | "libhidlbase", |
| 89 | "libhidltransport", |
| 90 | "libhwbinder", |
| 91 | "liblog", |
| 92 | "libutils", |
| 93 | "libcutils", |
| 94 | "libvts_common", |
| 95 | "libvts_datatype", |
| 96 | "libvts_drivercomm", |
| 97 | "libvts_measurement", |
| 98 | "libvts_multidevice_proto", |
| 99 | "libcamera_metadata", |
| 100 | "libprotobuf-cpp-full", |
| 101 | "android.hardware.audio.effect@2.0", |
| 102 | "android.hardware.audio.common@2.0", |
Jae Shin | efb6bd8 | 2017-03-24 16:31:14 +0900 | [diff] [blame] | 103 | "android.hardware.audio.common@2.0-vts.driver", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 104 | ], |
| 105 | export_shared_lib_headers: [ |
| 106 | "android.hardware.audio.common@2.0", |
Jae Shin | efb6bd8 | 2017-03-24 16:31:14 +0900 | [diff] [blame] | 107 | "android.hardware.audio.common@2.0-vts.driver", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 108 | ], |
Colin Cross | 5ee2f3d | 2017-05-03 23:33:42 -0700 | [diff] [blame] | 109 | cflags: [ |
| 110 | "-Wall", |
| 111 | "-Werror", |
| 112 | |
| 113 | // These warnings are in code generated with vtsc |
| 114 | // b/31362043 |
| 115 | "-Wno-unused-parameter", |
| 116 | "-Wno-unused-variable", |
| 117 | "-Wno-unused-private-field", |
| 118 | "-Wno-duplicate-decl-specifier", |
| 119 | "-Wno-uninitialized", |
| 120 | "-Wno-implicitly-unsigned-literal", |
| 121 | ], |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 122 | } |
| 123 | |
| 124 | // Build VTS profiler. |
| 125 | genrule { |
| 126 | name: "android.hardware.audio.effect@2.0-vts.profiler_genc++", |
| 127 | tools: ["hidl-gen", "vtsc"], |
| 128 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio.effect@2.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/audio/effect/2.0/ $(genDir)/android/hardware/audio/effect/2.0/", |
| 129 | srcs: [ |
| 130 | ":android.hardware.audio.effect@2.0_hal", |
| 131 | ], |
| 132 | out: [ |
| 133 | "android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.cpp", |
| 134 | "android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.cpp", |
| 135 | "android/hardware/audio/effect/2.0/BassBoostEffect.vts.cpp", |
| 136 | "android/hardware/audio/effect/2.0/DownmixEffect.vts.cpp", |
| 137 | "android/hardware/audio/effect/2.0/Effect.vts.cpp", |
| 138 | "android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.cpp", |
| 139 | "android/hardware/audio/effect/2.0/EffectsFactory.vts.cpp", |
| 140 | "android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.cpp", |
| 141 | "android/hardware/audio/effect/2.0/EqualizerEffect.vts.cpp", |
| 142 | "android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.cpp", |
| 143 | "android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.cpp", |
| 144 | "android/hardware/audio/effect/2.0/PresetReverbEffect.vts.cpp", |
| 145 | "android/hardware/audio/effect/2.0/VirtualizerEffect.vts.cpp", |
| 146 | "android/hardware/audio/effect/2.0/VisualizerEffect.vts.cpp", |
| 147 | "android/hardware/audio/effect/2.0/types.vts.cpp", |
| 148 | ], |
| 149 | } |
| 150 | |
| 151 | genrule { |
| 152 | name: "android.hardware.audio.effect@2.0-vts.profiler_genc++_headers", |
| 153 | tools: ["hidl-gen", "vtsc"], |
| 154 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio.effect@2.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/audio/effect/2.0/ $(genDir)/android/hardware/audio/effect/2.0/", |
| 155 | srcs: [ |
| 156 | ":android.hardware.audio.effect@2.0_hal", |
| 157 | ], |
| 158 | out: [ |
| 159 | "android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.h", |
| 160 | "android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.h", |
| 161 | "android/hardware/audio/effect/2.0/BassBoostEffect.vts.h", |
| 162 | "android/hardware/audio/effect/2.0/DownmixEffect.vts.h", |
| 163 | "android/hardware/audio/effect/2.0/Effect.vts.h", |
| 164 | "android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.h", |
| 165 | "android/hardware/audio/effect/2.0/EffectsFactory.vts.h", |
| 166 | "android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.h", |
| 167 | "android/hardware/audio/effect/2.0/EqualizerEffect.vts.h", |
| 168 | "android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.h", |
| 169 | "android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.h", |
| 170 | "android/hardware/audio/effect/2.0/PresetReverbEffect.vts.h", |
| 171 | "android/hardware/audio/effect/2.0/VirtualizerEffect.vts.h", |
| 172 | "android/hardware/audio/effect/2.0/VisualizerEffect.vts.h", |
| 173 | "android/hardware/audio/effect/2.0/types.vts.h", |
| 174 | ], |
| 175 | } |
| 176 | |
| 177 | cc_library_shared { |
| 178 | name: "android.hardware.audio.effect@2.0-vts.profiler", |
| 179 | generated_sources: ["android.hardware.audio.effect@2.0-vts.profiler_genc++"], |
| 180 | generated_headers: ["android.hardware.audio.effect@2.0-vts.profiler_genc++_headers"], |
| 181 | export_generated_headers: ["android.hardware.audio.effect@2.0-vts.profiler_genc++_headers"], |
| 182 | shared_libs: [ |
| 183 | "libbase", |
| 184 | "libhidlbase", |
| 185 | "libhidltransport", |
Colin Cross | dbe30fd | 2017-05-06 17:31:31 -0700 | [diff] [blame] | 186 | "libvts_common", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 187 | "libvts_profiling", |
| 188 | "libvts_multidevice_proto", |
| 189 | "libprotobuf-cpp-full", |
| 190 | "android.hardware.audio.effect@2.0", |
| 191 | "android.hardware.audio.common@2.0", |
| 192 | "android.hardware.audio.common@2.0-vts.profiler", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 193 | ], |
Colin Cross | 5ee2f3d | 2017-05-03 23:33:42 -0700 | [diff] [blame] | 194 | cflags: [ |
| 195 | "-Wall", |
| 196 | "-Werror", |
| 197 | |
| 198 | // These warnings are in code generated with vtsc |
| 199 | // b/31362043 |
| 200 | "-Wno-unused-parameter", |
| 201 | "-Wno-unused-variable", |
| 202 | "-Wno-unused-private-field", |
| 203 | "-Wno-duplicate-decl-specifier", |
| 204 | "-Wno-uninitialized", |
| 205 | "-Wno-implicitly-unsigned-literal", |
| 206 | ], |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 207 | } |
| 208 | |