1cc_library_shared {
2    name: "libaudiohal@2.0",
3
4    srcs: [
5        "DeviceHalLocal.cpp",
6        "DevicesFactoryHalHybrid.cpp",
7        "DevicesFactoryHalLocal.cpp",
8        "StreamHalLocal.cpp",
9
10        "ConversionHelperHidl.cpp",
11        "DeviceHalHidl.cpp",
12        "DevicesFactoryHalHidl.cpp",
13        "EffectBufferHalHidl.cpp",
14        "EffectHalHidl.cpp",
15        "EffectsFactoryHalHidl.cpp",
16        "StreamHalHidl.cpp",
17    ],
18
19    export_include_dirs: ["."],
20
21    cflags: [
22        "-Wall",
23        "-Werror",
24    ],
25    shared_libs: [
26        "libaudiohal_deathhandler",
27        "libaudioutils",
28        "libcutils",
29        "liblog",
30        "libutils",
31        "libhardware",
32        "libbase",
33        "libfmq",
34        "libhwbinder",
35        "libhidlbase",
36        "libhidlmemory",
37        "libhidltransport",
38        "android.hardware.audio@2.0",
39        "android.hardware.audio.common@2.0",
40        "android.hardware.audio.common@2.0-util",
41        "android.hardware.audio.effect@2.0",
42        "android.hidl.allocator@1.0",
43        "android.hidl.memory@1.0",
44        "libmedia_helper",
45        "libmediautils",
46    ],
47    header_libs: [
48        "libaudiohal_headers"
49    ],
50
51    export_shared_lib_headers: [
52        "libfmq",
53    ],
54}
55