1cc_defaults { 2 name: "android.hardware.audio.effect-impl_default", 3 defaults: ["hidl_defaults"], 4 vendor: true, 5 relative_install_path: "hw", 6 srcs: [ 7 "AcousticEchoCancelerEffect.cpp", 8 "AudioBufferManager.cpp", 9 "AutomaticGainControlEffect.cpp", 10 "BassBoostEffect.cpp", 11 "Conversions.cpp", 12 "DownmixEffect.cpp", 13 "Effect.cpp", 14 "EffectsFactory.cpp", 15 "EnvironmentalReverbEffect.cpp", 16 "EqualizerEffect.cpp", 17 "LoudnessEnhancerEffect.cpp", 18 "NoiseSuppressionEffect.cpp", 19 "PresetReverbEffect.cpp", 20 "VirtualizerEffect.cpp", 21 "VisualizerEffect.cpp", 22 ], 23 24 shared_libs: [ 25 "libbase", 26 "libcutils", 27 "libeffects", 28 "libfmq", 29 "libhidlbase", 30 "libhidlmemory", 31 "liblog", 32 "libutils", 33 "android.hardware.audio.common-util", 34 "android.hidl.memory@1.0", 35 ], 36 37 header_libs: [ 38 "android.hardware.audio.common.util@all-versions", 39 "libaudio_system_headers", 40 "libaudioclient_headers", 41 "libeffects_headers", 42 "libhardware_headers", 43 "libmedia_headers", 44 ], 45} 46 47cc_library_shared { 48 name: "android.hardware.audio.effect@2.0-impl", 49 defaults: ["android.hardware.audio.effect-impl_default"], 50 shared_libs: [ 51 "android.hardware.audio.common@2.0", 52 "android.hardware.audio.common@2.0-util", 53 "android.hardware.audio.effect@2.0", 54 ], 55 cflags: [ 56 "-DMAJOR_VERSION=2", 57 "-DMINOR_VERSION=0", 58 "-include common/all-versions/VersionMacro.h", 59 ] 60} 61 62cc_library_shared { 63 name: "android.hardware.audio.effect@4.0-impl", 64 defaults: ["android.hardware.audio.effect-impl_default"], 65 shared_libs: [ 66 "android.hardware.audio.common@4.0", 67 "android.hardware.audio.common@4.0-util", 68 "android.hardware.audio.effect@4.0", 69 ], 70 cflags: [ 71 "-DMAJOR_VERSION=4", 72 "-DMINOR_VERSION=0", 73 "-include common/all-versions/VersionMacro.h", 74 ] 75} 76 77cc_library_shared { 78 name: "android.hardware.audio.effect@5.0-impl", 79 defaults: ["android.hardware.audio.effect-impl_default"], 80 shared_libs: [ 81 "android.hardware.audio.common@5.0", 82 "android.hardware.audio.common@5.0-util", 83 "android.hardware.audio.effect@5.0", 84 ], 85 cflags: [ 86 "-DMAJOR_VERSION=5", 87 "-DMINOR_VERSION=0", 88 "-include common/all-versions/VersionMacro.h", 89 ] 90} 91 92cc_library_shared { 93 name: "android.hardware.audio.effect@6.0-impl", 94 defaults: ["android.hardware.audio.effect-impl_default"], 95 shared_libs: [ 96 "android.hardware.audio.common@6.0", 97 "android.hardware.audio.common@6.0-util", 98 "android.hardware.audio.effect@6.0", 99 ], 100 cflags: [ 101 "-DMAJOR_VERSION=6", 102 "-DMINOR_VERSION=0", 103 "-include common/all-versions/VersionMacro.h", 104 ] 105} 106