blob: 6d9a0cc37173defcd454196b3335aa67d3a0b7fa [file] [log] [blame]
Vlad Popa2900c0a2022-10-24 13:38:00 +02001package {
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
10cc_library {
11 name: "libsounddose",
12
Vlad Popa2900c0a2022-10-24 13:38:00 +020013 double_loadable: true,
Vlad Popa2900c0a2022-10-24 13:38:00 +020014
Vlad Popa1d5f0d52022-12-18 12:21:26 +010015 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 Popa2900c0a2022-10-24 13:38:00 +020021 srcs: [
22 "SoundDoseManager.cpp",
23 ],
24
25 shared_libs: [
Vlad Popa63f047e2022-11-05 14:09:19 +010026 "audioflinger-aidl-cpp",
Vlad Popa1d5f0d52022-12-18 12:21:26 +010027 "libaudio_aidl_conversion_common_ndk",
28 "libaudiofoundation",
Vlad Popa2900c0a2022-10-24 13:38:00 +020029 "libaudioutils",
30 "libbase",
Vlad Popae3fd1c22022-11-07 21:03:18 +010031 "libbinder",
Vlad Popa1d5f0d52022-12-18 12:21:26 +010032 "libbinder_ndk",
Vlad Popa2900c0a2022-10-24 13:38:00 +020033 "liblog",
34 "libutils",
35 ],
36
37 header_libs: [
38 "libaudioutils_headers",
39 ],
40
41 cflags: [
42 "-Wall",
43 "-Werror",
44 ],
45}
46
47cc_library_headers {
48 name: "libsounddose_headers",
49 host_supported: true,
50 device_supported: true,
51 export_include_dirs: ["."],
52}