1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_av_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_av_license"],
8}
9
10cc_library_shared {
11    name: "libpolicy-subsystem",
12    srcs: [
13        "PolicySubsystemBuilder.cpp",
14        "PolicySubsystem.cpp",
15        "InputSource.cpp",
16        "Stream.cpp",
17        "ProductStrategy.cpp",
18    ],
19    cflags: [
20        "-Wall",
21        "-Werror",
22        "-Wextra",
23        "-fvisibility-inlines-hidden",
24        "-fvisibility=hidden",
25    ],
26    header_libs: [
27        "libbase_headers",
28        "libaudiopolicycommon",
29        "libaudioclient_headers",
30        "libaudiopolicyengine_interface_headers",
31        "libaudiopolicyengineconfigurable_interface_headers",
32    ],
33    static_libs: [
34        "libaudiopolicycomponents",
35        "libaudiopolicyengine_common",
36        "libpfw_utility",
37    ],
38    shared_libs: [
39        "libaudiopolicyengineconfigurable",
40        "liblog",
41        "libutils",
42        "libmedia_helper",
43        "libparameter"
44    ],
45}
46