1cc_library_static {
2    name: "libaudiopolicycomponents",
3
4    srcs: [
5        "src/AudioCollections.cpp",
6        "src/AudioInputDescriptor.cpp",
7        "src/AudioOutputDescriptor.cpp",
8        "src/AudioPatch.cpp",
9        "src/AudioPolicyMix.cpp",
10        "src/AudioProfileVectorHelper.cpp",
11        "src/AudioRoute.cpp",
12        "src/ClientDescriptor.cpp",
13        "src/DeviceDescriptor.cpp",
14        "src/EffectDescriptor.cpp",
15        "src/HwModule.cpp",
16        "src/IOProfile.cpp",
17        "src/PolicyAudioPort.cpp",
18        "src/Serializer.cpp",
19        "src/SoundTriggerSession.cpp",
20        "src/TypeConverter.cpp",
21    ],
22    shared_libs: [
23        "libaudiofoundation",
24        "libcutils",
25        "libhidlbase",
26        "liblog",
27        "libmedia",
28        "libmedia_helper",
29        "libutils",
30        "libxml2",
31    ],
32    export_shared_lib_headers: [
33        "libaudiofoundation",
34        "libmedia",
35        "libmedia_helper",
36    ],
37    static_libs: [
38        "libaudioutils",
39    ],
40    header_libs: [
41        "libaudiopolicycommon",
42        "libaudiopolicymanager_interface_headers",
43    ],
44    export_header_lib_headers: ["libaudiopolicycommon"],
45
46    include_dirs: [
47        "frameworks/av/services/audiopolicy",
48    ],
49
50    export_include_dirs: ["include"],
51
52    cflags: [
53        "-Wall",
54        "-Werror",
55    ],
56
57}
58