xref: /aosp_15_r20/frameworks/av/media/libeffects/downmix/Android.bp (revision ec779b8e0859a360c3d303172224686826e6e0e1)
1// Multichannel downmix effect library
2package {
3    default_team: "trendy_team_media_framework_audio",
4    default_applicable_licenses: [
5        "frameworks_av_media_libeffects_downmix_license",
6    ],
7}
8
9// Added automatically by a large-scale-change
10// See: http://go/android-license-faq
11license {
12    name: "frameworks_av_media_libeffects_downmix_license",
13    visibility: [":__subpackages__"],
14    license_kinds: [
15        "SPDX-license-identifier-Apache-2.0",
16    ],
17    license_text: [
18        "NOTICE",
19    ],
20}
21
22cc_library {
23    name: "libdownmix",
24    host_supported: true,
25    vendor: true,
26    srcs: ["EffectDownmix.cpp"],
27
28    export_include_dirs: [
29        ".",
30    ],
31
32    shared_libs: [
33        "libaudioutils",
34        "libcutils",
35        "liblog",
36    ],
37
38    relative_install_path: "soundfx",
39
40    cflags: [
41        "-Wall",
42        "-Werror",
43        "-fvisibility=hidden",
44    ],
45
46    header_libs: [
47        "libaudioeffects",
48        "libhardware_headers",
49    ],
50}
51
52cc_library_shared {
53    name: "libdownmixaidl",
54    srcs: [
55        ":effectCommonFile",
56        "aidl/DownmixContext.cpp",
57        "aidl/EffectDownmix.cpp",
58    ],
59    defaults: [
60        "aidlaudioeffectservice_defaults",
61    ],
62    header_libs: [
63        "libaudioeffects",
64        "libhardware_headers",
65    ],
66    shared_libs: [
67        "libaudioutils",
68        "libcutils",
69        "liblog",
70    ],
71    relative_install_path: "soundfx",
72    visibility: [
73        "//hardware/interfaces/audio/aidl/default:__subpackages__",
74    ],
75}
76