blob: 50c5eab2366f26ce38351a85b05f35bfe0506845 [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
Bob Badour56786ac2021-02-25 15:24:36 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_av_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_av_license"],
22}
23
François Gaffiedc7553f2018-11-02 10:39:57 +010024cc_library_headers {
25 name: "libaudiopolicyengine_common_headers",
26 host_supported: true,
27 export_include_dirs: ["include"],
28}
Mikhail Naganov13ce4f62019-02-28 15:11:41 -080029
30cc_library_static {
31 name: "libaudiopolicyengine_common",
32 srcs: [
33 "src/EngineBase.cpp",
34 "src/ProductStrategy.cpp",
35 "src/VolumeCurve.cpp",
36 "src/VolumeGroup.cpp",
Baekgyeong Kim08451522019-11-01 20:40:02 +090037 "src/LastRemovableMediaDevices.cpp",
Mikhail Naganov13ce4f62019-02-28 15:11:41 -080038 ],
39 cflags: [
40 "-Wall",
41 "-Werror",
42 "-Wextra",
43 ],
44 header_libs: [
45 "libbase_headers",
46 "libaudiopolicycommon",
47 "libaudiopolicyengine_common_headers",
48 "libaudiopolicyengine_interface_headers",
49 ],
50 export_header_lib_headers: [
51 "libaudiopolicyengine_common_headers",
52 ],
53 static_libs: [
54 "libaudiopolicycomponents",
55 "libaudiopolicyengine_config",
56 ],
jiabin12dc6b02019-10-01 09:38:30 -070057 shared_libs: [
58 "libaudiofoundation",
59 ],
Mikhail Naganov13ce4f62019-02-28 15:11:41 -080060}