• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15package {
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
24cc_library_headers {
25    name: "libaudiopolicyengine_common_headers",
26    host_supported: true,
27    export_include_dirs: ["include"],
28}
29
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",
37        "src/LastRemovableMediaDevices.cpp",
38    ],
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    ],
57    shared_libs: [
58        "libaudiofoundation",
59    ],
60}
61