xref: /aosp_15_r20/frameworks/av/services/audiopolicy/engine/config/Android.bp (revision ec779b8e0859a360c3d303172224686826e6e0e1)
1package {
2    default_team: "trendy_team_android_media_audio_framework",
3    // See: http://go/android-license-faq
4    // A large-scale-change added 'default_applicable_licenses' to import
5    // all of the 'license_kinds' from "frameworks_av_license"
6    // to get the below license kinds:
7    //   SPDX-license-identifier-Apache-2.0
8    default_applicable_licenses: ["frameworks_av_license"],
9}
10
11cc_library {
12    name: "libaudiopolicyengine_config",
13    defaults: [
14        "latest_android_media_audio_common_types_cpp_shared",
15    ],
16    export_include_dirs: ["include"],
17    include_dirs: [
18        "external/libxml2/include",
19    ],
20    srcs: [
21        "src/EngineConfig.cpp",
22    ],
23    cflags: [
24        "-Wall",
25        "-Werror",
26        "-Wextra",
27    ],
28    shared_libs: [
29        "libaudio_aidl_conversion_common_cpp",
30        "libaudiopolicycomponents",
31        "libcutils",
32        "liblog",
33        "libmedia_helper",
34        "libutils",
35        "libxml2",
36    ],
37    header_libs: [
38        "libaudio_system_headers",
39        "libaudioclient_headers",
40        "libmedia_headers",
41    ],
42}
43