Home | History | Annotate | Download | only in build
      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 (a] 2.0-vts.spec",
      7     srcs: [
      8         ":android.hardware.audio.effect (a] 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 {
     31     name: "android.hardware.audio.effect (a] 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 (a] 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 (a] 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 {
     57     name: "android.hardware.audio.effect (a] 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 (a] 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 (a] 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 {
     83     name: "android.hardware.audio.effect (a] 2.0-vts.driver",
     84     generated_sources: ["android.hardware.audio.effect (a] 2.0-vts.driver_genc++"],
     85     generated_headers: ["android.hardware.audio.effect (a] 2.0-vts.driver_genc++_headers"],
     86     export_generated_headers: ["android.hardware.audio.effect (a] 2.0-vts.driver_genc++_headers"],
     87     shared_libs: [
     88         "libcamera_metadata",
     89         "libcutils",
     90         "libfmq",
     91         "libhidlbase",
     92         "libhidltransport",
     93         "libhwbinder",
     94         "liblog",
     95         "libprotobuf-cpp-full",
     96         "libutils",
     97         "libvts_common",
     98         "libvts_datatype",
     99         "libvts_drivercomm",
    100         "libvts_measurement",
    101         "libvts_multidevice_proto",
    102         "android.hidl.allocator (a] 1.0",
    103         "android.hardware.audio.effect (a] 2.0",
    104         "android.hardware.audio.common (a] 2.0",
    105         "android.hardware.audio.common (a] 2.0-vts.driver",
    106     ],
    107     export_shared_lib_headers: [
    108         "android.hardware.audio.common (a] 2.0",
    109         "android.hardware.audio.common (a] 2.0-vts.driver",
    110     ],
    111     cflags: [
    112         "-Wall",
    113         "-Werror",
    114 
    115         // These warnings are in code generated with vtsc
    116         // b/31362043
    117         "-Wno-duplicate-decl-specifier",
    118         "-Wno-implicitly-unsigned-literal",
    119     ],
    120 }
    121 
    122 // Build VTS profiler.
    123 genrule {
    124     name: "android.hardware.audio.effect (a] 2.0-vts.profiler_genc++",
    125     tools: ["hidl-gen", "vtsc"],
    126     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio.effect (a] 2.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/audio/effect/2.0/ $(genDir)/android/hardware/audio/effect/2.0/",
    127     srcs: [
    128         ":android.hardware.audio.effect (a] 2.0_hal",
    129     ],
    130     out: [
    131         "android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.cpp",
    132         "android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.cpp",
    133         "android/hardware/audio/effect/2.0/BassBoostEffect.vts.cpp",
    134         "android/hardware/audio/effect/2.0/DownmixEffect.vts.cpp",
    135         "android/hardware/audio/effect/2.0/Effect.vts.cpp",
    136         "android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.cpp",
    137         "android/hardware/audio/effect/2.0/EffectsFactory.vts.cpp",
    138         "android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.cpp",
    139         "android/hardware/audio/effect/2.0/EqualizerEffect.vts.cpp",
    140         "android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.cpp",
    141         "android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.cpp",
    142         "android/hardware/audio/effect/2.0/PresetReverbEffect.vts.cpp",
    143         "android/hardware/audio/effect/2.0/VirtualizerEffect.vts.cpp",
    144         "android/hardware/audio/effect/2.0/VisualizerEffect.vts.cpp",
    145         "android/hardware/audio/effect/2.0/types.vts.cpp",
    146     ],
    147 }
    148 
    149 genrule {
    150     name: "android.hardware.audio.effect (a] 2.0-vts.profiler_genc++_headers",
    151     tools: ["hidl-gen", "vtsc"],
    152     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio.effect (a] 2.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/audio/effect/2.0/ $(genDir)/android/hardware/audio/effect/2.0/",
    153     srcs: [
    154         ":android.hardware.audio.effect (a] 2.0_hal",
    155     ],
    156     out: [
    157         "android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.h",
    158         "android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.h",
    159         "android/hardware/audio/effect/2.0/BassBoostEffect.vts.h",
    160         "android/hardware/audio/effect/2.0/DownmixEffect.vts.h",
    161         "android/hardware/audio/effect/2.0/Effect.vts.h",
    162         "android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.h",
    163         "android/hardware/audio/effect/2.0/EffectsFactory.vts.h",
    164         "android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.h",
    165         "android/hardware/audio/effect/2.0/EqualizerEffect.vts.h",
    166         "android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.h",
    167         "android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.h",
    168         "android/hardware/audio/effect/2.0/PresetReverbEffect.vts.h",
    169         "android/hardware/audio/effect/2.0/VirtualizerEffect.vts.h",
    170         "android/hardware/audio/effect/2.0/VisualizerEffect.vts.h",
    171         "android/hardware/audio/effect/2.0/types.vts.h",
    172     ],
    173 }
    174 
    175 cc_library_shared {
    176     name: "android.hardware.audio.effect (a] 2.0-vts.profiler",
    177     generated_sources: ["android.hardware.audio.effect (a] 2.0-vts.profiler_genc++"],
    178     generated_headers: ["android.hardware.audio.effect (a] 2.0-vts.profiler_genc++_headers"],
    179     export_generated_headers: ["android.hardware.audio.effect (a] 2.0-vts.profiler_genc++_headers"],
    180     shared_libs: [
    181         "libbase",
    182         "libcutils",
    183         "libfmq",
    184         "libhidlbase",
    185         "libhidltransport",
    186         "libvts_common",
    187         "libvts_profiling",
    188         "libvts_multidevice_proto",
    189         "libprotobuf-cpp-full",
    190         "android.hardware.audio.effect (a] 2.0",
    191         "android.hardware.audio.common (a] 2.0",
    192         "android.hardware.audio.common (a] 2.0-vts.profiler",
    193     ],
    194     cflags: [
    195         "-Wall",
    196         "-Werror",
    197 
    198         // These warnings are in code generated with vtsc
    199         // b/31362043
    200         "-Wno-duplicate-decl-specifier",
    201         "-Wno-implicitly-unsigned-literal",
    202     ],
    203 }
    204 
    205