blob: 3c9897d059fd20037d7f88d94f079b9ba7eb925b [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",
72 "libpowermanager",
73 "libmediautils",
74 "libmemunreachable",
75 "libmedia_helper",
76 "libvibrator",
77 ],
78
79 static_libs: [
80 "libcpustats",
81 "libsndfile",
82 ],
83
Jiabin Huangbbb38232019-10-23 21:02:41 +000084 header_libs: [
Marco Nelissena51151a2020-01-07 13:37:47 -080085 "libaudiohal_headers",
Jiabin Huangbbb38232019-10-23 21:02:41 +000086 "libmedia_headers",
87 ],
88
Anton Hansson00167402019-03-27 14:15:54 +000089 cflags: [
90 "-DSTATE_QUEUE_INSTANTIATIONS=\"StateQueueInstantiations.cpp\"",
91 "-fvisibility=hidden",
92 "-Werror",
93 "-Wall",
94 ],
95 sanitize: {
96 integer_overflow: true,
97 },
98
99}