• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
5hal2vts {
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.
30genrule {
31    name: "android.hardware.audio.effect@2.0-vts.driver_genc++",
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
56genrule {
57    name: "android.hardware.audio.effect@2.0-vts.driver_genc++_headers",
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
82cc_library_shared {
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"],
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",
103        "android.hardware.audio.common@2.0-vts.driver",
104        "android.hidl.base@1.0",
105    ],
106    export_shared_lib_headers: [
107        "android.hardware.audio.common@2.0",
108        "android.hardware.audio.common@2.0-vts.driver",
109        "android.hidl.base@1.0",
110    ],
111}
112
113// Build VTS profiler.
114genrule {
115    name: "android.hardware.audio.effect@2.0-vts.profiler_genc++",
116    tools: ["hidl-gen", "vtsc"],
117    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/",
118    srcs: [
119        ":android.hardware.audio.effect@2.0_hal",
120    ],
121    out: [
122        "android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.cpp",
123        "android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.cpp",
124        "android/hardware/audio/effect/2.0/BassBoostEffect.vts.cpp",
125        "android/hardware/audio/effect/2.0/DownmixEffect.vts.cpp",
126        "android/hardware/audio/effect/2.0/Effect.vts.cpp",
127        "android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.cpp",
128        "android/hardware/audio/effect/2.0/EffectsFactory.vts.cpp",
129        "android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.cpp",
130        "android/hardware/audio/effect/2.0/EqualizerEffect.vts.cpp",
131        "android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.cpp",
132        "android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.cpp",
133        "android/hardware/audio/effect/2.0/PresetReverbEffect.vts.cpp",
134        "android/hardware/audio/effect/2.0/VirtualizerEffect.vts.cpp",
135        "android/hardware/audio/effect/2.0/VisualizerEffect.vts.cpp",
136        "android/hardware/audio/effect/2.0/types.vts.cpp",
137    ],
138}
139
140genrule {
141    name: "android.hardware.audio.effect@2.0-vts.profiler_genc++_headers",
142    tools: ["hidl-gen", "vtsc"],
143    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/",
144    srcs: [
145        ":android.hardware.audio.effect@2.0_hal",
146    ],
147    out: [
148        "android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.h",
149        "android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.h",
150        "android/hardware/audio/effect/2.0/BassBoostEffect.vts.h",
151        "android/hardware/audio/effect/2.0/DownmixEffect.vts.h",
152        "android/hardware/audio/effect/2.0/Effect.vts.h",
153        "android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.h",
154        "android/hardware/audio/effect/2.0/EffectsFactory.vts.h",
155        "android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.h",
156        "android/hardware/audio/effect/2.0/EqualizerEffect.vts.h",
157        "android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.h",
158        "android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.h",
159        "android/hardware/audio/effect/2.0/PresetReverbEffect.vts.h",
160        "android/hardware/audio/effect/2.0/VirtualizerEffect.vts.h",
161        "android/hardware/audio/effect/2.0/VisualizerEffect.vts.h",
162        "android/hardware/audio/effect/2.0/types.vts.h",
163    ],
164}
165
166cc_library_shared {
167    name: "android.hardware.audio.effect@2.0-vts.profiler",
168    generated_sources: ["android.hardware.audio.effect@2.0-vts.profiler_genc++"],
169    generated_headers: ["android.hardware.audio.effect@2.0-vts.profiler_genc++_headers"],
170    export_generated_headers: ["android.hardware.audio.effect@2.0-vts.profiler_genc++_headers"],
171    shared_libs: [
172        "libbase",
173        "libhidlbase",
174        "libhidltransport",
175        "libvts_profiling",
176        "libvts_multidevice_proto",
177        "libprotobuf-cpp-full",
178        "android.hardware.audio.effect@2.0",
179        "android.hardware.audio.common@2.0",
180        "android.hardware.audio.common@2.0-vts.profiler",
181        "android.hidl.base@1.0",
182    ],
183}
184
185