Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 1 | // Copyright (C) 2018 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | // DynamicsProcessing library |
Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 16 | package { |
| 17 | default_applicable_licenses: [ |
| 18 | "frameworks_av_media_libeffects_dynamicsproc_license", |
| 19 | ], |
| 20 | } |
| 21 | |
| 22 | // Added automatically by a large-scale-change |
| 23 | // See: http://go/android-license-faq |
| 24 | license { |
| 25 | name: "frameworks_av_media_libeffects_dynamicsproc_license", |
| 26 | visibility: [":__subpackages__"], |
| 27 | license_kinds: [ |
| 28 | "SPDX-license-identifier-Apache-2.0", |
| 29 | ], |
| 30 | license_text: [ |
| 31 | "NOTICE", |
| 32 | ], |
| 33 | } |
| 34 | |
Shunkai Yao | 725af21 | 2023-01-05 23:01:40 +0000 | [diff] [blame] | 35 | cc_defaults { |
| 36 | name : "dynamicsprocessingdefaults", |
| 37 | srcs: [ |
| 38 | "dsp/DPBase.cpp", |
| 39 | "dsp/DPFrequency.cpp", |
| 40 | ], |
| 41 | |
| 42 | shared_libs: [ |
| 43 | "libaudioutils", |
| 44 | "libbase", |
| 45 | "liblog", |
| 46 | "libutils", |
| 47 | ], |
| 48 | header_libs: [ |
| 49 | "libaudioeffects", |
| 50 | "libeigen", |
| 51 | ], |
| 52 | cflags: [ |
| 53 | "-Wthread-safety", |
| 54 | "-Wall", |
| 55 | "-Werror", |
| 56 | ], |
Shunkai Yao | 9e6cca8 | 2023-02-02 01:26:10 +0000 | [diff] [blame] | 57 | relative_install_path: "soundfx", |
Shunkai Yao | 725af21 | 2023-01-05 23:01:40 +0000 | [diff] [blame] | 58 | } |
| 59 | |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 60 | cc_library_shared { |
| 61 | name: "libdynproc", |
| 62 | |
| 63 | vendor: true, |
| 64 | |
Shunkai Yao | 725af21 | 2023-01-05 23:01:40 +0000 | [diff] [blame] | 65 | defaults: [ |
| 66 | "dynamicsprocessingdefaults", |
| 67 | ], |
| 68 | |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 69 | srcs: [ |
| 70 | "EffectDynamicsProcessing.cpp", |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 71 | ], |
| 72 | |
| 73 | cflags: [ |
| 74 | "-O2", |
| 75 | "-fvisibility=hidden", |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 76 | ], |
Shunkai Yao | 725af21 | 2023-01-05 23:01:40 +0000 | [diff] [blame] | 77 | } |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 78 | |
Shunkai Yao | 725af21 | 2023-01-05 23:01:40 +0000 | [diff] [blame] | 79 | cc_library_shared { |
| 80 | name: "libdynamicsprocessingaidl", |
| 81 | |
| 82 | srcs: [ |
| 83 | "aidl/DynamicsProcessing.cpp", |
| 84 | "aidl/DynamicsProcessingContext.cpp", |
| 85 | ":effectCommonFile", |
| 86 | ], |
| 87 | |
| 88 | defaults: [ |
| 89 | "aidlaudioservice_defaults", |
| 90 | "latest_android_hardware_audio_effect_ndk_shared", |
| 91 | "latest_android_media_audio_common_types_ndk_shared", |
| 92 | "dynamicsprocessingdefaults", |
| 93 | ], |
| 94 | |
Ram Mohan | c89817d | 2023-03-14 21:39:26 +0530 | [diff] [blame] | 95 | static_libs: [ |
| 96 | "libaudioaidlranges", |
| 97 | ], |
| 98 | |
Shunkai Yao | 725af21 | 2023-01-05 23:01:40 +0000 | [diff] [blame] | 99 | visibility: [ |
| 100 | "//hardware/interfaces/audio/aidl/default", |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 101 | ], |
| 102 | } |