blob: 47b48e38d84702f3061faac14a9c44415a6ada4b [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -08001package {
Ronish Kaliab5dd44b2024-02-14 14:32:32 +00002 default_team: "trendy_team_media_framework_audio",
Bob Badour56786ac2021-02-25 15:24:36 -08003 // See: http://go/android-license-faq
4 // A large-scale-change added 'default_applicable_licenses' to import
5 // all of the 'license_kinds' from "frameworks_av_license"
6 // to get the below license kinds:
7 // SPDX-license-identifier-Apache-2.0
8 default_applicable_licenses: ["frameworks_av_license"],
9}
10
Glenn Kasten1688e1d2020-04-06 12:58:24 -070011cc_binary {
12 name: "audioserver",
13
14 srcs: [
15 "main_audioserver.cpp",
16 ],
17
18 cflags: [
19 "-Wall",
20 "-Werror",
21 ],
22
Devin Moore55a2fc92023-05-11 23:48:00 +000023 defaults: [
Andy Hunga159e4b2024-03-15 11:48:57 -070024 "latest_android_hardware_audio_core_sounddose_ndk_shared",
25 "latest_android_media_audio_common_types_cpp_shared",
Devin Moore55a2fc92023-05-11 23:48:00 +000026 "libaaudioservice_dependencies",
27 "libaudioflinger_dependencies",
28 "libaudiopolicyservice_dependencies",
Devin Moore55a2fc92023-05-11 23:48:00 +000029 ],
30
31 static_libs: [
Glenn Kasten1688e1d2020-04-06 12:58:24 -070032 "libaaudioservice",
33 "libaudioflinger",
34 "libaudiopolicyservice",
Devin Moore55a2fc92023-05-11 23:48:00 +000035 "libmedialogservice",
Devin Moore55a2fc92023-05-11 23:48:00 +000036 ],
37
38 shared_libs: [
Andy Hungfc77abc2024-07-31 17:41:19 -070039 "libhidlbase", // required for threadpool config.
Glenn Kasten1688e1d2020-04-06 12:58:24 -070040 ],
41
42 init_rc: ["audioserver.rc"],
43}