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 | |
Glenn Kasten | 5605cb2 | 2020-03-13 17:19:59 -0700 | [diff] [blame] | 10 | cc_library_shared { |
| 11 | name: "libaudiopolicyservice", |
| 12 | |
| 13 | srcs: [ |
| 14 | "AudioPolicyClientImpl.cpp", |
| 15 | "AudioPolicyEffects.cpp", |
| 16 | "AudioPolicyInterfaceImpl.cpp", |
| 17 | "AudioPolicyService.cpp", |
Ytai Ben-Tsvi | e3b67fb | 2020-03-24 17:35:44 -0700 | [diff] [blame] | 18 | "CaptureStateNotifier.cpp", |
Glenn Kasten | 5605cb2 | 2020-03-13 17:19:59 -0700 | [diff] [blame] | 19 | ], |
| 20 | |
| 21 | include_dirs: [ |
| 22 | "frameworks/av/services/audioflinger" |
| 23 | ], |
| 24 | |
| 25 | shared_libs: [ |
Steven Moreland | b6e26f6 | 2021-04-05 22:05:06 +0000 | [diff] [blame] | 26 | "libactivitymanager_aidl", |
Glenn Kasten | 5605cb2 | 2020-03-13 17:19:59 -0700 | [diff] [blame] | 27 | "libaudioclient", |
Ytai Ben-Tsvi | 12a0b84 | 2020-11-05 13:47:32 -0800 | [diff] [blame] | 28 | "libaudioclient_aidl_conversion", |
Glenn Kasten | 5605cb2 | 2020-03-13 17:19:59 -0700 | [diff] [blame] | 29 | "libaudiofoundation", |
Ytai Ben-Tsvi | 0a4904a | 2021-01-06 12:57:05 -0800 | [diff] [blame] | 30 | "libaudiopolicy", |
Jaideep Sharma | ba9053b | 2021-01-25 21:24:26 +0530 | [diff] [blame] | 31 | "libaudiopolicymanagerdefault", |
Glenn Kasten | 5605cb2 | 2020-03-13 17:19:59 -0700 | [diff] [blame] | 32 | "libaudioutils", |
| 33 | "libbinder", |
| 34 | "libcutils", |
| 35 | "libeffectsconfig", |
| 36 | "libhardware_legacy", |
| 37 | "liblog", |
| 38 | "libmedia_helper", |
| 39 | "libmediametrics", |
| 40 | "libmediautils", |
Eric Laurent | ed726cc | 2021-07-01 14:26:41 +0200 | [diff] [blame] | 41 | "libpermission", |
Glenn Kasten | 5605cb2 | 2020-03-13 17:19:59 -0700 | [diff] [blame] | 42 | "libsensorprivacy", |
| 43 | "libutils", |
Jeongik Cha | 7f2285b | 2021-01-28 00:49:46 +0900 | [diff] [blame] | 44 | "audioclient-types-aidl-cpp", |
| 45 | "audioflinger-aidl-cpp", |
| 46 | "audiopolicy-aidl-cpp", |
| 47 | "audiopolicy-types-aidl-cpp", |
| 48 | "capture_state_listener-aidl-cpp", |
Svet Ganov | 3376113 | 2021-05-13 22:51:08 +0000 | [diff] [blame] | 49 | "framework-permission-aidl-cpp", |
Glenn Kasten | 5605cb2 | 2020-03-13 17:19:59 -0700 | [diff] [blame] | 50 | ], |
| 51 | |
| 52 | static_libs: [ |
| 53 | "libaudiopolicycomponents", |
Svet Ganov | 3376113 | 2021-05-13 22:51:08 +0000 | [diff] [blame] | 54 | "framework-permission-aidl-cpp", |
Glenn Kasten | 5605cb2 | 2020-03-13 17:19:59 -0700 | [diff] [blame] | 55 | ], |
| 56 | |
| 57 | header_libs: [ |
| 58 | "libaudiopolicycommon", |
| 59 | "libaudiopolicyengine_interface_headers", |
| 60 | "libaudiopolicymanager_interface_headers", |
| 61 | "libaudioutils_headers", |
| 62 | ], |
| 63 | |
| 64 | cflags: [ |
| 65 | "-fvisibility=hidden", |
| 66 | "-Werror", |
| 67 | "-Wall", |
Mikhail Naganov | 197d50a | 2020-04-30 22:37:43 +0000 | [diff] [blame] | 68 | "-Wthread-safety", |
Glenn Kasten | 5605cb2 | 2020-03-13 17:19:59 -0700 | [diff] [blame] | 69 | ], |
| 70 | |
| 71 | export_shared_lib_headers: [ |
Steven Moreland | b6e26f6 | 2021-04-05 22:05:06 +0000 | [diff] [blame] | 72 | "libactivitymanager_aidl", |
Glenn Kasten | 5605cb2 | 2020-03-13 17:19:59 -0700 | [diff] [blame] | 73 | "libsensorprivacy", |
Svet Ganov | 3376113 | 2021-05-13 22:51:08 +0000 | [diff] [blame] | 74 | "framework-permission-aidl-cpp", |
Glenn Kasten | 5605cb2 | 2020-03-13 17:19:59 -0700 | [diff] [blame] | 75 | ], |
| 76 | } |