| Vlad Popa | 2900c0a | 2022-10-24 13:38:00 +0200 | [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_base_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_av_services_audioflinger_license"], |
| 8 | } |
| 9 | |
| 10 | cc_library { |
| 11 | name: "libsounddose", |
| 12 | |
| Vlad Popa | 2900c0a | 2022-10-24 13:38:00 +0200 | [diff] [blame] | 13 | double_loadable: true, |
| Vlad Popa | 2900c0a | 2022-10-24 13:38:00 +0200 | [diff] [blame] | 14 | |
| Vlad Popa | 1d5f0d5 | 2022-12-18 12:21:26 +0100 | [diff] [blame] | 15 | defaults: [ |
| 16 | "latest_android_media_audio_common_types_ndk_shared", |
| 17 | "latest_android_hardware_audio_core_sounddose_ndk_shared", |
| 18 | "latest_android_hardware_audio_sounddose_ndk_shared", |
| 19 | ], |
| 20 | |
| Vlad Popa | 2900c0a | 2022-10-24 13:38:00 +0200 | [diff] [blame] | 21 | srcs: [ |
| 22 | "SoundDoseManager.cpp", |
| 23 | ], |
| 24 | |
| 25 | shared_libs: [ |
| Vlad Popa | 63f047e | 2022-11-05 14:09:19 +0100 | [diff] [blame] | 26 | "audioflinger-aidl-cpp", |
| Vlad Popa | 1d5f0d5 | 2022-12-18 12:21:26 +0100 | [diff] [blame] | 27 | "libaudio_aidl_conversion_common_ndk", |
| 28 | "libaudiofoundation", |
| Vlad Popa | 2900c0a | 2022-10-24 13:38:00 +0200 | [diff] [blame] | 29 | "libaudioutils", |
| 30 | "libbase", |
| Vlad Popa | e3fd1c2 | 2022-11-07 21:03:18 +0100 | [diff] [blame] | 31 | "libbinder", |
| Vlad Popa | 1d5f0d5 | 2022-12-18 12:21:26 +0100 | [diff] [blame] | 32 | "libbinder_ndk", |
| Vlad Popa | 2900c0a | 2022-10-24 13:38:00 +0200 | [diff] [blame] | 33 | "liblog", |
| 34 | "libutils", |
| 35 | ], |
| 36 | |
| 37 | header_libs: [ |
| 38 | "libaudioutils_headers", |
| 39 | ], |
| 40 | |
| 41 | cflags: [ |
| 42 | "-Wall", |
| 43 | "-Werror", |
| 44 | ], |
| 45 | } |
| 46 | |
| 47 | cc_library_headers { |
| 48 | name: "libsounddose_headers", |
| 49 | host_supported: true, |
| 50 | device_supported: true, |
| 51 | export_include_dirs: ["."], |
| 52 | } |