blob: ff3bfd26867c9fe73d52261ab09639fce41c4c72 [file] [log] [blame]
Anton Hansson00167402019-03-27 14:15:54 +00001
2
Bob Badour948e6aa2021-02-12 21:02:31 -08003package {
4 default_applicable_licenses: [
5 "frameworks_av_services_audioflinger_license",
6 ],
7}
8
9// Added automatically by a large-scale-change
10// See: http://go/android-license-faq
11license {
12 name: "frameworks_av_services_audioflinger_license",
13 visibility: [":__subpackages__"],
14 license_kinds: [
15 "SPDX-license-identifier-Apache-2.0",
16 ],
17 license_text: [
18 "NOTICE",
19 ],
20}
21
Anton Hansson00167402019-03-27 14:15:54 +000022cc_library_shared {
23 name: "libaudioflinger",
24
25 srcs: [
26 "AudioFlinger.cpp",
27 "AudioHwDevice.cpp",
28 "AudioStreamOut.cpp",
29 "AudioWatchdog.cpp",
30 "BufLog.cpp",
Eric Laurentb82e6b72019-11-22 17:25:04 -080031 "DeviceEffectManager.cpp",
Anton Hansson00167402019-03-27 14:15:54 +000032 "Effects.cpp",
33 "FastCapture.cpp",
34 "FastCaptureDumpState.cpp",
35 "FastCaptureState.cpp",
36 "FastMixer.cpp",
37 "FastMixerDumpState.cpp",
38 "FastMixerState.cpp",
39 "FastThread.cpp",
40 "FastThreadDumpState.cpp",
41 "FastThreadState.cpp",
42 "NBAIO_Tee.cpp",
43 "PatchPanel.cpp",
44 "SpdifStreamOut.cpp",
45 "StateQueue.cpp",
46 "Threads.cpp",
47 "Tracks.cpp",
48 "TypedLogger.cpp",
49 ],
50
51 include_dirs: [
52 "frameworks/av/services/audiopolicy",
53 "frameworks/av/services/medialog",
54 ],
55
56 shared_libs: [
jiabin43810402019-10-24 14:58:31 -070057 "libaudiofoundation",
Anton Hansson00167402019-03-27 14:15:54 +000058 "libaudiohal",
59 "libaudioprocessing",
60 "libaudiospdif",
61 "libaudioutils",
62 "libcutils",
63 "libutils",
64 "liblog",
65 "libbinder",
66 "libaudioclient",
67 "libmedialogservice",
68 "libmediametrics",
69 "libmediautils",
70 "libnbaio",
71 "libnblog",
Steven Morelandf7a86bf2021-04-13 00:54:56 +000072 "libpermission",
Anton Hansson00167402019-03-27 14:15:54 +000073 "libpowermanager",
74 "libmediautils",
75 "libmemunreachable",
76 "libmedia_helper",
77 "libvibrator",
78 ],
79
80 static_libs: [
81 "libcpustats",
82 "libsndfile",
83 ],
84
Jiabin Huangbbb38232019-10-23 21:02:41 +000085 header_libs: [
Marco Nelissena51151a2020-01-07 13:37:47 -080086 "libaudiohal_headers",
Jiabin Huangbbb38232019-10-23 21:02:41 +000087 "libmedia_headers",
88 ],
89
Steven Morelandf7a86bf2021-04-13 00:54:56 +000090 export_shared_lib_headers: [
91 "libpermission",
92 ],
93
Anton Hansson00167402019-03-27 14:15:54 +000094 cflags: [
95 "-DSTATE_QUEUE_INSTANTIATIONS=\"StateQueueInstantiations.cpp\"",
96 "-fvisibility=hidden",
97 "-Werror",
98 "-Wall",
99 ],
100 sanitize: {
101 integer_overflow: true,
102 },
103
104}