• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "libaudioutils",
34        "libbase",
35        "libcutils",
36        "libeffects",
37        "libfmq",
38        "libhidlbase",
39        "libhidlmemory",
40        "liblog",
41        "libutils",
42        "android.hardware.audio.common-util",
43        "android.hidl.memory@1.0",
44    ],
45
46    header_libs: [
47        "android.hardware.audio.common.util@all-versions",
48        "libaudio_system_headers",
49        "libeffects_headers",
50        "libhardware_headers",
51        "libmedia_headers",
52        "libmediautils_headers",
53    ],
54}
55
56cc_library_shared {
57    name: "android.hardware.audio.effect@2.0-impl",
58    defaults: ["android.hardware.audio.effect-impl_default"],
59    shared_libs: [
60        "android.hardware.audio.common@2.0",
61        "android.hardware.audio.common@2.0-util",
62        "android.hardware.audio.effect@2.0",
63        "android.hardware.audio.effect@2.0-util",
64    ],
65    cflags: [
66        "-DMAJOR_VERSION=2",
67        "-DMINOR_VERSION=0",
68        "-include common/all-versions/VersionMacro.h",
69    ],
70}
71
72cc_library_shared {
73    name: "android.hardware.audio.effect@4.0-impl",
74    defaults: ["android.hardware.audio.effect-impl_default"],
75    shared_libs: [
76        "android.hardware.audio.common@4.0",
77        "android.hardware.audio.common@4.0-util",
78        "android.hardware.audio.effect@4.0",
79        "android.hardware.audio.effect@4.0-util",
80    ],
81    cflags: [
82        "-DMAJOR_VERSION=4",
83        "-DMINOR_VERSION=0",
84        "-include common/all-versions/VersionMacro.h",
85    ],
86}
87
88cc_library_shared {
89    name: "android.hardware.audio.effect@5.0-impl",
90    defaults: ["android.hardware.audio.effect-impl_default"],
91    shared_libs: [
92        "android.hardware.audio.common@5.0",
93        "android.hardware.audio.common@5.0-util",
94        "android.hardware.audio.effect@5.0",
95        "android.hardware.audio.effect@5.0-util",
96    ],
97    cflags: [
98        "-DMAJOR_VERSION=5",
99        "-DMINOR_VERSION=0",
100        "-include common/all-versions/VersionMacro.h",
101    ],
102}
103
104cc_library_shared {
105    name: "android.hardware.audio.effect@6.0-impl",
106    defaults: ["android.hardware.audio.effect-impl_default"],
107    shared_libs: [
108        "android.hardware.audio.common@6.0",
109        "android.hardware.audio.common@6.0-util",
110        "android.hardware.audio.effect@6.0",
111        "android.hardware.audio.effect@6.0-util",
112    ],
113    cflags: [
114        "-DMAJOR_VERSION=6",
115        "-DMINOR_VERSION=0",
116        "-include common/all-versions/VersionMacro.h",
117    ],
118}
119
120cc_library_shared {
121    name: "android.hardware.audio.effect@7.0-impl",
122    defaults: ["android.hardware.audio.effect-impl_default"],
123    shared_libs: [
124        "android.hardware.audio.common@7.0",
125        "android.hardware.audio.common@7.0-util",
126        "android.hardware.audio.effect@7.0",
127        "android.hardware.audio.effect@7.0-util",
128    ],
129    cflags: [
130        "-DMAJOR_VERSION=7",
131        "-DMINOR_VERSION=0",
132        "-include common/all-versions/VersionMacro.h",
133    ],
134}
135