blob: f23a463bc5eb282b2fdf5f7a8ca2ef5fb3154bc0 [file] [log] [blame]
Kevin Rocard1108d4a2018-11-15 18:51:07 -08001cc_defaults {
2 name: "android.hardware.audio.effect-impl_default",
Kevin Rocard62588b62017-12-20 11:07:12 -08003 defaults: ["hidl_defaults"],
4 vendor: true,
5 relative_install_path: "hw",
Kevin Rocard96d2cd92018-11-14 16:22:07 -08006 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 ],
Kevin Rocard62588b62017-12-20 11:07:12 -080023
24 shared_libs: [
25 "libbase",
26 "libcutils",
Kevin Rocard8bdafc12018-01-24 06:12:44 +000027 "libeffects",
Kevin Rocard62588b62017-12-20 11:07:12 -080028 "libfmq",
29 "libhidlbase",
30 "libhidlmemory",
31 "libhidltransport",
32 "liblog",
33 "libutils",
34 "android.hardware.audio.common-util",
35 "android.hidl.memory@1.0",
36 ],
37
38 header_libs: [
Kevin Rocard96d2cd92018-11-14 16:22:07 -080039 "android.hardware.audio.common.util@all-versions",
Kevin Rocard8bdafc12018-01-24 06:12:44 +000040 "libaudio_system_headers",
Kevin Rocard62588b62017-12-20 11:07:12 -080041 "libaudioclient_headers",
Kevin Rocard8bdafc12018-01-24 06:12:44 +000042 "libeffects_headers",
Kevin Rocard62588b62017-12-20 11:07:12 -080043 "libhardware_headers",
44 "libmedia_headers",
Kevin Rocard62588b62017-12-20 11:07:12 -080045 ],
Kevin Rocard1108d4a2018-11-15 18:51:07 -080046}
47
48cc_library_shared {
49 name: "android.hardware.audio.effect@2.0-impl",
50 defaults: ["android.hardware.audio.effect-impl_default"],
51 shared_libs: [
52 "android.hardware.audio.common@2.0",
53 "android.hardware.audio.common@2.0-util",
54 "android.hardware.audio.effect@2.0",
55 ],
56
Kevin Rocard96d2cd92018-11-14 16:22:07 -080057 cflags: [
58 "-DMAJOR_VERSION=2",
59 "-DMINOR_VERSION=0",
60 "-include common/all-versions/VersionMacro.h",
61 ]
62}
63
64cc_library_shared {
65 name: "android.hardware.audio.effect@4.0-impl",
Kevin Rocard1108d4a2018-11-15 18:51:07 -080066 defaults: ["android.hardware.audio.effect-impl_default"],
Kevin Rocard96d2cd92018-11-14 16:22:07 -080067 shared_libs: [
Kevin Rocard96d2cd92018-11-14 16:22:07 -080068 "android.hardware.audio.common@4.0",
69 "android.hardware.audio.common@4.0-util",
70 "android.hardware.audio.effect@4.0",
Kevin Rocard96d2cd92018-11-14 16:22:07 -080071 ],
72
Kevin Rocard96d2cd92018-11-14 16:22:07 -080073 cflags: [
74 "-DMAJOR_VERSION=4",
75 "-DMINOR_VERSION=0",
76 "-include common/all-versions/VersionMacro.h",
77 ]
Kevin Rocard62588b62017-12-20 11:07:12 -080078}
Kevin Rocard20614ba2018-11-10 07:20:17 -080079
80cc_library_shared {
81 name: "android.hardware.audio.effect@5.0-impl",
82 defaults: ["android.hardware.audio.effect-impl_default"],
83 shared_libs: [
84 "android.hardware.audio.common@5.0",
85 "android.hardware.audio.common@5.0-util",
86 "android.hardware.audio.effect@5.0",
87 ],
88
89 cflags: [
90 "-DMAJOR_VERSION=5",
91 "-DMINOR_VERSION=0",
92 "-include common/all-versions/VersionMacro.h",
93 ]
94}