Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 1 | package { |
| 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 Naganov | 4783555 | 2019-05-14 10:32:51 -0700 | [diff] [blame] | 10 | cc_library_shared { |
| 11 | name: "libaudiopolicymanagerdefault", |
| 12 | |
| 13 | srcs: [ |
| 14 | "AudioPolicyManager.cpp", |
| 15 | "EngineLibrary.cpp", |
| 16 | ], |
| 17 | |
| 18 | export_include_dirs: ["."], |
| 19 | |
| 20 | shared_libs: [ |
jiabin | 9ccb28b | 2019-07-31 09:59:09 -0700 | [diff] [blame] | 21 | "libaudiofoundation", |
Mikhail Naganov | 4783555 | 2019-05-14 10:32:51 -0700 | [diff] [blame] | 22 | "libcutils", |
| 23 | "libdl", |
| 24 | "libutils", |
| 25 | "liblog", |
| 26 | "libaudiopolicy", |
Mikhail Naganov | 4783555 | 2019-05-14 10:32:51 -0700 | [diff] [blame] | 27 | "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. Moltmann | bda4575 | 2020-07-17 16:41:18 -0700 | [diff] [blame] | 37 | "media_permission-aidl-cpp", |
| 38 | "libaudioclient_aidl_conversion", |
Mikhail Naganov | 4783555 | 2019-05-14 10:32:51 -0700 | [diff] [blame] | 39 | ], |
| 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 | } |