blob: b111db4b902abde83577d17f9c4c4025a61e69d5 [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_av_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_av_license"],
8}
9
Mikhail Naganov47835552019-05-14 10:32:51 -070010cc_library_shared {
11 name: "libaudiopolicymanagerdefault",
12
13 srcs: [
14 "AudioPolicyManager.cpp",
15 "EngineLibrary.cpp",
16 ],
17
18 export_include_dirs: ["."],
19
20 shared_libs: [
jiabin9ccb28b2019-07-31 09:59:09 -070021 "libaudiofoundation",
Mikhail Naganov47835552019-05-14 10:32:51 -070022 "libcutils",
23 "libdl",
24 "libutils",
25 "liblog",
26 "libaudiopolicy",
Mikhail Naganov47835552019-05-14 10:32:51 -070027 "libmedia_helper",
28 "libmediametrics",
29 "libbinder",
30 "libhidlbase",
31 "libxml2",
32 // The default audio policy engine is always present in the system image.
33 // libaudiopolicyengineconfigurable can be built in addition by specifying
34 // a dependency on it in the device makefile. There will be no build time
35 // conflict with libaudiopolicyenginedefault.
36 "libaudiopolicyenginedefault",
Philip P. Moltmannbda45752020-07-17 16:41:18 -070037 "media_permission-aidl-cpp",
38 "libaudioclient_aidl_conversion",
Mikhail Naganov47835552019-05-14 10:32:51 -070039 ],
40
41 header_libs: [
42 "libaudiopolicycommon",
43 "libaudiopolicyengine_interface_headers",
44 "libaudiopolicymanager_interface_headers",
45 ],
46
47 static_libs: ["libaudiopolicycomponents"],
48
49 cflags: [
50 "-Wall",
51 "-Werror",
52 ],
53
54}