mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
* Add driver/profiler build rule for all hals. Test: mma Change-Id: I98325f7af14fec7dd1bb64b1668de8c7c20ace92
373 lines
18 KiB
Plaintext
373 lines
18 KiB
Plaintext
// This file is autogenerated by hidl-gen. Do not edit manually.
|
|
|
|
genrule {
|
|
name: "android.hardware.audio.effect@2.0_genc++",
|
|
tools: ["hidl-gen"],
|
|
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio.effect@2.0",
|
|
srcs: [
|
|
"types.hal",
|
|
"IAcousticEchoCancelerEffect.hal",
|
|
"IAutomaticGainControlEffect.hal",
|
|
"IBassBoostEffect.hal",
|
|
"IDownmixEffect.hal",
|
|
"IEffect.hal",
|
|
"IEffectBufferProviderCallback.hal",
|
|
"IEffectsFactory.hal",
|
|
"IEnvironmentalReverbEffect.hal",
|
|
"IEqualizerEffect.hal",
|
|
"ILoudnessEnhancerEffect.hal",
|
|
"INoiseSuppressionEffect.hal",
|
|
"IPresetReverbEffect.hal",
|
|
"IVirtualizerEffect.hal",
|
|
"IVisualizerEffect.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/audio/effect/2.0/types.cpp",
|
|
"android/hardware/audio/effect/2.0/AcousticEchoCancelerEffectAll.cpp",
|
|
"android/hardware/audio/effect/2.0/AutomaticGainControlEffectAll.cpp",
|
|
"android/hardware/audio/effect/2.0/BassBoostEffectAll.cpp",
|
|
"android/hardware/audio/effect/2.0/DownmixEffectAll.cpp",
|
|
"android/hardware/audio/effect/2.0/EffectAll.cpp",
|
|
"android/hardware/audio/effect/2.0/EffectBufferProviderCallbackAll.cpp",
|
|
"android/hardware/audio/effect/2.0/EffectsFactoryAll.cpp",
|
|
"android/hardware/audio/effect/2.0/EnvironmentalReverbEffectAll.cpp",
|
|
"android/hardware/audio/effect/2.0/EqualizerEffectAll.cpp",
|
|
"android/hardware/audio/effect/2.0/LoudnessEnhancerEffectAll.cpp",
|
|
"android/hardware/audio/effect/2.0/NoiseSuppressionEffectAll.cpp",
|
|
"android/hardware/audio/effect/2.0/PresetReverbEffectAll.cpp",
|
|
"android/hardware/audio/effect/2.0/VirtualizerEffectAll.cpp",
|
|
"android/hardware/audio/effect/2.0/VisualizerEffectAll.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.audio.effect@2.0_genc++_headers",
|
|
tools: ["hidl-gen"],
|
|
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio.effect@2.0",
|
|
srcs: [
|
|
"types.hal",
|
|
"IAcousticEchoCancelerEffect.hal",
|
|
"IAutomaticGainControlEffect.hal",
|
|
"IBassBoostEffect.hal",
|
|
"IDownmixEffect.hal",
|
|
"IEffect.hal",
|
|
"IEffectBufferProviderCallback.hal",
|
|
"IEffectsFactory.hal",
|
|
"IEnvironmentalReverbEffect.hal",
|
|
"IEqualizerEffect.hal",
|
|
"ILoudnessEnhancerEffect.hal",
|
|
"INoiseSuppressionEffect.hal",
|
|
"IPresetReverbEffect.hal",
|
|
"IVirtualizerEffect.hal",
|
|
"IVisualizerEffect.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/audio/effect/2.0/types.h",
|
|
"android/hardware/audio/effect/2.0/IAcousticEchoCancelerEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwAcousticEchoCancelerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwAcousticEchoCancelerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwAcousticEchoCancelerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsAcousticEchoCancelerEffect.h",
|
|
"android/hardware/audio/effect/2.0/IAutomaticGainControlEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwAutomaticGainControlEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwAutomaticGainControlEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwAutomaticGainControlEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsAutomaticGainControlEffect.h",
|
|
"android/hardware/audio/effect/2.0/IBassBoostEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwBassBoostEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwBassBoostEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwBassBoostEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsBassBoostEffect.h",
|
|
"android/hardware/audio/effect/2.0/IDownmixEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwDownmixEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwDownmixEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwDownmixEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsDownmixEffect.h",
|
|
"android/hardware/audio/effect/2.0/IEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsEffect.h",
|
|
"android/hardware/audio/effect/2.0/IEffectBufferProviderCallback.h",
|
|
"android/hardware/audio/effect/2.0/IHwEffectBufferProviderCallback.h",
|
|
"android/hardware/audio/effect/2.0/BnHwEffectBufferProviderCallback.h",
|
|
"android/hardware/audio/effect/2.0/BpHwEffectBufferProviderCallback.h",
|
|
"android/hardware/audio/effect/2.0/BsEffectBufferProviderCallback.h",
|
|
"android/hardware/audio/effect/2.0/IEffectsFactory.h",
|
|
"android/hardware/audio/effect/2.0/IHwEffectsFactory.h",
|
|
"android/hardware/audio/effect/2.0/BnHwEffectsFactory.h",
|
|
"android/hardware/audio/effect/2.0/BpHwEffectsFactory.h",
|
|
"android/hardware/audio/effect/2.0/BsEffectsFactory.h",
|
|
"android/hardware/audio/effect/2.0/IEnvironmentalReverbEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwEnvironmentalReverbEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwEnvironmentalReverbEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwEnvironmentalReverbEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsEnvironmentalReverbEffect.h",
|
|
"android/hardware/audio/effect/2.0/IEqualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwEqualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwEqualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwEqualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsEqualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/ILoudnessEnhancerEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwLoudnessEnhancerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwLoudnessEnhancerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwLoudnessEnhancerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsLoudnessEnhancerEffect.h",
|
|
"android/hardware/audio/effect/2.0/INoiseSuppressionEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwNoiseSuppressionEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwNoiseSuppressionEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwNoiseSuppressionEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsNoiseSuppressionEffect.h",
|
|
"android/hardware/audio/effect/2.0/IPresetReverbEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwPresetReverbEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwPresetReverbEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwPresetReverbEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsPresetReverbEffect.h",
|
|
"android/hardware/audio/effect/2.0/IVirtualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwVirtualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwVirtualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwVirtualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsVirtualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/IVisualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/IHwVisualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BnHwVisualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BpHwVisualizerEffect.h",
|
|
"android/hardware/audio/effect/2.0/BsVisualizerEffect.h",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "android.hardware.audio.effect@2.0",
|
|
generated_sources: ["android.hardware.audio.effect@2.0_genc++"],
|
|
generated_headers: ["android.hardware.audio.effect@2.0_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.audio.effect@2.0_genc++_headers"],
|
|
shared_libs: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"liblog",
|
|
"libutils",
|
|
"libcutils",
|
|
"android.hardware.audio.common@2.0",
|
|
"android.hidl.base@1.0",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"libutils",
|
|
"android.hardware.audio.common@2.0",
|
|
"android.hidl.base@1.0",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.audio.effect.vts.driver@2.0_genc++",
|
|
tools: ["hidl-gen", "vtsc"],
|
|
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/",
|
|
srcs: [
|
|
"types.hal",
|
|
"IAcousticEchoCancelerEffect.hal",
|
|
"IAutomaticGainControlEffect.hal",
|
|
"IBassBoostEffect.hal",
|
|
"IDownmixEffect.hal",
|
|
"IEffect.hal",
|
|
"IEffectBufferProviderCallback.hal",
|
|
"IEffectsFactory.hal",
|
|
"IEnvironmentalReverbEffect.hal",
|
|
"IEqualizerEffect.hal",
|
|
"ILoudnessEnhancerEffect.hal",
|
|
"INoiseSuppressionEffect.hal",
|
|
"IPresetReverbEffect.hal",
|
|
"IVirtualizerEffect.hal",
|
|
"IVisualizerEffect.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/audio/effect/2.0/types.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/BassBoostEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/DownmixEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/Effect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/EffectsFactory.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/EqualizerEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/PresetReverbEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/VirtualizerEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/VisualizerEffect.vts.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.audio.effect.vts.driver@2.0_genc++_headers",
|
|
tools: ["hidl-gen", "vtsc"],
|
|
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/",
|
|
srcs: [
|
|
"types.hal",
|
|
"IAcousticEchoCancelerEffect.hal",
|
|
"IAutomaticGainControlEffect.hal",
|
|
"IBassBoostEffect.hal",
|
|
"IDownmixEffect.hal",
|
|
"IEffect.hal",
|
|
"IEffectBufferProviderCallback.hal",
|
|
"IEffectsFactory.hal",
|
|
"IEnvironmentalReverbEffect.hal",
|
|
"IEqualizerEffect.hal",
|
|
"ILoudnessEnhancerEffect.hal",
|
|
"INoiseSuppressionEffect.hal",
|
|
"IPresetReverbEffect.hal",
|
|
"IVirtualizerEffect.hal",
|
|
"IVisualizerEffect.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/audio/effect/2.0/types.vts.h",
|
|
"android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/BassBoostEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/DownmixEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/Effect.vts.h",
|
|
"android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.h",
|
|
"android/hardware/audio/effect/2.0/EffectsFactory.vts.h",
|
|
"android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/EqualizerEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/PresetReverbEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/VirtualizerEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/VisualizerEffect.vts.h",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "android.hardware.audio.effect.vts.driver@2.0",
|
|
generated_sources: ["android.hardware.audio.effect.vts.driver@2.0_genc++"],
|
|
generated_headers: ["android.hardware.audio.effect.vts.driver@2.0_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.audio.effect.vts.driver@2.0_genc++_headers"],
|
|
shared_libs: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"liblog",
|
|
"libutils",
|
|
"libcutils",
|
|
"libvts_common",
|
|
"libvts_datatype",
|
|
"libvts_measurement",
|
|
"libvts_multidevice_proto",
|
|
"libcamera_metadata",
|
|
"libprotobuf-cpp-full",
|
|
"android.hardware.audio.common@2.0",
|
|
"android.hidl.base@1.0",
|
|
"android.hardware.audio.effect@2.0",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libhwbinder",
|
|
"libutils",
|
|
"android.hardware.audio.common@2.0",
|
|
"android.hidl.base@1.0",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.audio.effect@2.0-vts.profiler_genc++",
|
|
tools: ["hidl-gen", "vtsc"],
|
|
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/",
|
|
srcs: [
|
|
"types.hal",
|
|
"IAcousticEchoCancelerEffect.hal",
|
|
"IAutomaticGainControlEffect.hal",
|
|
"IBassBoostEffect.hal",
|
|
"IDownmixEffect.hal",
|
|
"IEffect.hal",
|
|
"IEffectBufferProviderCallback.hal",
|
|
"IEffectsFactory.hal",
|
|
"IEnvironmentalReverbEffect.hal",
|
|
"IEqualizerEffect.hal",
|
|
"ILoudnessEnhancerEffect.hal",
|
|
"INoiseSuppressionEffect.hal",
|
|
"IPresetReverbEffect.hal",
|
|
"IVirtualizerEffect.hal",
|
|
"IVisualizerEffect.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/audio/effect/2.0/types.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/BassBoostEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/DownmixEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/Effect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/EffectsFactory.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/EqualizerEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/PresetReverbEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/VirtualizerEffect.vts.cpp",
|
|
"android/hardware/audio/effect/2.0/VisualizerEffect.vts.cpp",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "android.hardware.audio.effect@2.0-vts.profiler_genc++_headers",
|
|
tools: ["hidl-gen", "vtsc"],
|
|
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/",
|
|
srcs: [
|
|
"types.hal",
|
|
"IAcousticEchoCancelerEffect.hal",
|
|
"IAutomaticGainControlEffect.hal",
|
|
"IBassBoostEffect.hal",
|
|
"IDownmixEffect.hal",
|
|
"IEffect.hal",
|
|
"IEffectBufferProviderCallback.hal",
|
|
"IEffectsFactory.hal",
|
|
"IEnvironmentalReverbEffect.hal",
|
|
"IEqualizerEffect.hal",
|
|
"ILoudnessEnhancerEffect.hal",
|
|
"INoiseSuppressionEffect.hal",
|
|
"IPresetReverbEffect.hal",
|
|
"IVirtualizerEffect.hal",
|
|
"IVisualizerEffect.hal",
|
|
],
|
|
out: [
|
|
"android/hardware/audio/effect/2.0/types.vts.h",
|
|
"android/hardware/audio/effect/2.0/AcousticEchoCancelerEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/AutomaticGainControlEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/BassBoostEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/DownmixEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/Effect.vts.h",
|
|
"android/hardware/audio/effect/2.0/EffectBufferProviderCallback.vts.h",
|
|
"android/hardware/audio/effect/2.0/EffectsFactory.vts.h",
|
|
"android/hardware/audio/effect/2.0/EnvironmentalReverbEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/EqualizerEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/LoudnessEnhancerEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/NoiseSuppressionEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/PresetReverbEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/VirtualizerEffect.vts.h",
|
|
"android/hardware/audio/effect/2.0/VisualizerEffect.vts.h",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "android.hardware.audio.effect@2.0-vts.profiler",
|
|
generated_sources: ["android.hardware.audio.effect@2.0-vts.profiler_genc++"],
|
|
generated_headers: ["android.hardware.audio.effect@2.0-vts.profiler_genc++_headers"],
|
|
export_generated_headers: ["android.hardware.audio.effect@2.0-vts.profiler_genc++_headers"],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libvts_profiling",
|
|
"libvts_multidevice_proto",
|
|
"libprotobuf-cpp-full",
|
|
"android.hardware.audio.common@2.0",
|
|
"android.hidl.base@1.0",
|
|
"android.hardware.audio.effect@2.0",
|
|
],
|
|
}
|