Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 1 | package { |
Ronish Kalia | b5dd44b | 2024-02-14 14:32:32 +0000 | [diff] [blame] | 2 | default_team: "trendy_team_media_framework_audio", |
Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 3 | // 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 Kasten | 1688e1d | 2020-04-06 12:58:24 -0700 | [diff] [blame] | 11 | cc_binary { |
| 12 | name: "audioserver", |
| 13 | |
| 14 | srcs: [ |
| 15 | "main_audioserver.cpp", |
| 16 | ], |
| 17 | |
| 18 | cflags: [ |
| 19 | "-Wall", |
| 20 | "-Werror", |
| 21 | ], |
| 22 | |
Devin Moore | 55a2fc9 | 2023-05-11 23:48:00 +0000 | [diff] [blame] | 23 | defaults: [ |
Andy Hung | a159e4b | 2024-03-15 11:48:57 -0700 | [diff] [blame] | 24 | "latest_android_hardware_audio_core_sounddose_ndk_shared", |
| 25 | "latest_android_media_audio_common_types_cpp_shared", |
Devin Moore | 55a2fc9 | 2023-05-11 23:48:00 +0000 | [diff] [blame] | 26 | "libaaudioservice_dependencies", |
| 27 | "libaudioflinger_dependencies", |
| 28 | "libaudiopolicyservice_dependencies", |
Devin Moore | 55a2fc9 | 2023-05-11 23:48:00 +0000 | [diff] [blame] | 29 | ], |
| 30 | |
| 31 | static_libs: [ |
Glenn Kasten | 1688e1d | 2020-04-06 12:58:24 -0700 | [diff] [blame] | 32 | "libaaudioservice", |
| 33 | "libaudioflinger", |
| 34 | "libaudiopolicyservice", |
Devin Moore | 55a2fc9 | 2023-05-11 23:48:00 +0000 | [diff] [blame] | 35 | "libmedialogservice", |
Devin Moore | 55a2fc9 | 2023-05-11 23:48:00 +0000 | [diff] [blame] | 36 | ], |
| 37 | |
| 38 | shared_libs: [ |
Andy Hung | fc77abc | 2024-07-31 17:41:19 -0700 | [diff] [blame] | 39 | "libhidlbase", // required for threadpool config. |
Glenn Kasten | 1688e1d | 2020-04-06 12:58:24 -0700 | [diff] [blame] | 40 | ], |
| 41 | |
| 42 | init_rc: ["audioserver.rc"], |
| 43 | } |