Mikhail Naganov | e13c679 | 2019-05-14 10:32:51 -0700 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "libaudiopolicymanagerdefault", |
| 3 | |
| 4 | srcs: [ |
| 5 | "AudioPolicyManager.cpp", |
| 6 | "EngineLibrary.cpp", |
| 7 | ], |
| 8 | |
| 9 | export_include_dirs: ["."], |
| 10 | |
| 11 | shared_libs: [ |
| 12 | "libcutils", |
| 13 | "libdl", |
| 14 | "libutils", |
| 15 | "liblog", |
| 16 | "libaudiopolicy", |
| 17 | "libsoundtrigger", |
| 18 | "libmedia_helper", |
| 19 | "libmediametrics", |
| 20 | "libbinder", |
| 21 | "libhidlbase", |
| 22 | "libxml2", |
| 23 | // The default audio policy engine is always present in the system image. |
| 24 | // libaudiopolicyengineconfigurable can be built in addition by specifying |
| 25 | // a dependency on it in the device makefile. There will be no build time |
| 26 | // conflict with libaudiopolicyenginedefault. |
| 27 | "libaudiopolicyenginedefault", |
| 28 | ], |
| 29 | |
| 30 | header_libs: [ |
| 31 | "libaudiopolicycommon", |
| 32 | "libaudiopolicyengine_interface_headers", |
| 33 | "libaudiopolicymanager_interface_headers", |
| 34 | ], |
| 35 | |
| 36 | static_libs: ["libaudiopolicycomponents"], |
| 37 | |
| 38 | cflags: [ |
| 39 | "-Wall", |
| 40 | "-Werror", |
| 41 | ], |
| 42 | |
| 43 | } |