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
16package {
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
24license {
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
35cc_library_shared {
36    name: "libdynproc",
37
38    vendor: true,
39
40    srcs: [
41        "EffectDynamicsProcessing.cpp",
42        "dsp/DPBase.cpp",
43        "dsp/DPFrequency.cpp",
44    ],
45
46    cflags: [
47        "-O2",
48        "-fvisibility=hidden",
49
50        "-Wall",
51        "-Werror",
52    ],
53
54    shared_libs: [
55        "libcutils",
56        "liblog",
57    ],
58
59    relative_install_path: "soundfx",
60
61    header_libs: [
62        "libaudioeffects",
63        "libeigen",
64    ],
65}
66