• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_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    ],
57    relative_install_path: "soundfx",
58}
59
60cc_library_shared {
61    name: "libdynproc",
62
63    vendor: true,
64
65    defaults: [
66        "dynamicsprocessingdefaults",
67    ],
68
69    srcs: [
70        "EffectDynamicsProcessing.cpp",
71    ],
72
73    cflags: [
74        "-O2",
75        "-fvisibility=hidden",
76    ],
77}
78
79cc_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
95    static_libs: [
96        "libaudioaidlranges",
97    ],
98
99    visibility: [
100        "//hardware/interfaces/audio/aidl/default",
101    ],
102}
103