1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "hardware_interfaces_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["hardware_interfaces_license"], 8} 9 10cc_defaults { 11 name: "android.hardware.audio.effect-impl_default", 12 defaults: ["hidl_defaults"], 13 vendor: true, 14 relative_install_path: "hw", 15 srcs: [ 16 "AcousticEchoCancelerEffect.cpp", 17 "AudioBufferManager.cpp", 18 "AutomaticGainControlEffect.cpp", 19 "BassBoostEffect.cpp", 20 "DownmixEffect.cpp", 21 "Effect.cpp", 22 "EffectsFactory.cpp", 23 "EnvironmentalReverbEffect.cpp", 24 "EqualizerEffect.cpp", 25 "LoudnessEnhancerEffect.cpp", 26 "NoiseSuppressionEffect.cpp", 27 "PresetReverbEffect.cpp", 28 "VirtualizerEffect.cpp", 29 "VisualizerEffect.cpp", 30 ], 31 32 shared_libs: [ 33 "libbase", 34 "libcutils", 35 "libeffects", 36 "libfmq", 37 "libhidlbase", 38 "libhidlmemory", 39 "liblog", 40 "libutils", 41 "android.hardware.audio.common-util", 42 "android.hidl.memory@1.0", 43 ], 44 45 header_libs: [ 46 "android.hardware.audio.common.util@all-versions", 47 "libaudio_system_headers", 48 "libaudioclient_headers", 49 "libeffects_headers", 50 "libhardware_headers", 51 "libmedia_headers", 52 ], 53} 54 55cc_library_shared { 56 name: "android.hardware.audio.effect@2.0-impl", 57 defaults: ["android.hardware.audio.effect-impl_default"], 58 shared_libs: [ 59 "android.hardware.audio.common@2.0", 60 "android.hardware.audio.common@2.0-util", 61 "android.hardware.audio.effect@2.0", 62 "android.hardware.audio.effect@2.0-util", 63 ], 64 cflags: [ 65 "-DMAJOR_VERSION=2", 66 "-DMINOR_VERSION=0", 67 "-include common/all-versions/VersionMacro.h", 68 ], 69} 70 71cc_library_shared { 72 name: "android.hardware.audio.effect@4.0-impl", 73 defaults: ["android.hardware.audio.effect-impl_default"], 74 shared_libs: [ 75 "android.hardware.audio.common@4.0", 76 "android.hardware.audio.common@4.0-util", 77 "android.hardware.audio.effect@4.0", 78 "android.hardware.audio.effect@4.0-util", 79 ], 80 cflags: [ 81 "-DMAJOR_VERSION=4", 82 "-DMINOR_VERSION=0", 83 "-include common/all-versions/VersionMacro.h", 84 ], 85} 86 87cc_library_shared { 88 name: "android.hardware.audio.effect@5.0-impl", 89 defaults: ["android.hardware.audio.effect-impl_default"], 90 shared_libs: [ 91 "android.hardware.audio.common@5.0", 92 "android.hardware.audio.common@5.0-util", 93 "android.hardware.audio.effect@5.0", 94 "android.hardware.audio.effect@5.0-util", 95 ], 96 cflags: [ 97 "-DMAJOR_VERSION=5", 98 "-DMINOR_VERSION=0", 99 "-include common/all-versions/VersionMacro.h", 100 ], 101} 102 103cc_library_shared { 104 name: "android.hardware.audio.effect@6.0-impl", 105 defaults: ["android.hardware.audio.effect-impl_default"], 106 shared_libs: [ 107 "android.hardware.audio.common@6.0", 108 "android.hardware.audio.common@6.0-util", 109 "android.hardware.audio.effect@6.0", 110 "android.hardware.audio.effect@6.0-util", 111 ], 112 cflags: [ 113 "-DMAJOR_VERSION=6", 114 "-DMINOR_VERSION=0", 115 "-include common/all-versions/VersionMacro.h", 116 ], 117} 118 119cc_library_shared { 120 name: "android.hardware.audio.effect@7.0-impl", 121 defaults: ["android.hardware.audio.effect-impl_default"], 122 shared_libs: [ 123 "android.hardware.audio.common@7.0", 124 "android.hardware.audio.common@7.0-util", 125 "android.hardware.audio.effect@7.0", 126 "android.hardware.audio.effect@7.0-util", 127 ], 128 cflags: [ 129 "-DMAJOR_VERSION=7", 130 "-DMINOR_VERSION=0", 131 "-include common/all-versions/VersionMacro.h", 132 ], 133} 134