blob: ad130e06c2c9aff933df94e25f3d72907c4bb0d5 [file] [log] [blame]
Jack Hed92d34e2016-12-08 15:44:14 -08001cc_library_shared {
2 name: "libaudioclient",
3 srcs: [
4 "AudioEffect.cpp",
5 "AudioPolicy.cpp",
6 "AudioRecord.cpp",
7 "AudioSystem.cpp",
8 "AudioTrack.cpp",
9 "AudioTrackShared.cpp",
10 "IAudioFlinger.cpp",
11 "IAudioFlingerClient.cpp",
12 "IAudioPolicyService.cpp",
13 "IAudioPolicyServiceClient.cpp",
14 "IAudioRecord.cpp",
15 "IAudioTrack.cpp",
16 "IEffect.cpp",
17 "IEffectClient.cpp",
18 "ToneGenerator.cpp",
19 ],
20 shared_libs: [
21 "liblog",
22 "libcutils",
23 "libutils",
24 "libbinder",
25 "libdl",
26 "libaudioutils",
27 ],
28 export_shared_lib_headers: ["libbinder"],
Vijay Venkatramane2b43842017-02-02 13:35:37 -080029 local_include_dirs: ["include"],
30 export_include_dirs: ["include"],
Jack Hed92d34e2016-12-08 15:44:14 -080031 // for memory heap analysis
32 static_libs: [
33 "libc_malloc_debug_backtrace",
34 "libc_logging",
35 ],
36 cflags: [
37 "-Werror",
38 "-Wno-error=deprecated-declarations",
39 "-Wall",
40 ],
41 sanitize: {
42 misc_undefined : [
43 "unsigned-integer-overflow",
44 "signed-integer-overflow",
45 ],
46 },
47}