blob: a1c69f23a527018261a92ba7b61c8a7995ff344c [file] [log] [blame]
François Gaffiedc7553f2018-11-02 10:39:57 +01001// 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}
Mikhail Naganov13ce4f62019-02-28 15:11:41 -080020
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",
Baekgyeong Kim08451522019-11-01 20:40:02 +090028 "src/LastRemovableMediaDevices.cpp",
Mikhail Naganov13ce4f62019-02-28 15:11:41 -080029 ],
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 ],
jiabin12dc6b02019-10-01 09:38:30 -070048 shared_libs: [
49 "libaudiofoundation",
50 ],
Mikhail Naganov13ce4f62019-02-28 15:11:41 -080051}