package {
    default_team: "trendy_team_android_media_audio_framework",
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_av_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_av_license"],
}

cc_library_shared {
    name: "libpolicy-subsystem",
    srcs: [
        "InputSource.cpp",
        "PolicySubsystem.cpp",
        "PolicySubsystemBuilder.cpp",
        "ProductStrategy.cpp",
        "Stream.cpp",
    ],
    cflags: [
        "-Wall",
        "-Werror",
        "-Wextra",
        "-fvisibility-inlines-hidden",
        "-fvisibility=hidden",
    ],
    header_libs: [
        "libaudioclient_headers",
        "libaudiopolicycommon",
        "libaudiopolicyengine_interface_headers",
        "libaudiopolicyengineconfigurable_interface_headers",
        "libbase_headers",
    ],
    static_libs: [
        "libaudiopolicyengine_common",
        "libpfw_utility",
    ],
    shared_libs: [
        "libaudiopolicycomponents",
        "libaudiopolicyengineconfigurable",
        "libbase",
        "libcutils",
        "liblog",
        "libmedia_helper",
        "libparameter",
        "libutils",
    ],
    defaults: [
        "aconfig_lib_cc_shared_link.defaults",
    ],
}
