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
15cc_library_headers {
16    name: "libaudiopolicyengine_common_headers",
17    host_supported: true,
18    export_include_dirs: ["include"],
19}
20
21cc_library_static {
22    name: "libaudiopolicyengine_common",
23    srcs: [
24        "src/EngineBase.cpp",
25        "src/ProductStrategy.cpp",
26        "src/VolumeCurve.cpp",
27        "src/VolumeGroup.cpp",
28        "src/LastRemovableMediaDevices.cpp",
29    ],
30    cflags: [
31        "-Wall",
32        "-Werror",
33        "-Wextra",
34    ],
35    header_libs: [
36        "libbase_headers",
37        "libaudiopolicycommon",
38        "libaudiopolicyengine_common_headers",
39        "libaudiopolicyengine_interface_headers",
40    ],
41    export_header_lib_headers: [
42        "libaudiopolicyengine_common_headers",
43    ],
44    static_libs: [
45        "libaudiopolicycomponents",
46        "libaudiopolicyengine_config",
47    ],
48    shared_libs: [
49        "libaudiofoundation",
50    ],
51}
52