François Gaffie | dc7553f | 2018-11-02 10:39:57 +0100 | [diff] [blame] | 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 | |
| 15 | cc_library_headers { |
| 16 | name: "libaudiopolicyengine_common_headers", |
| 17 | host_supported: true, |
| 18 | export_include_dirs: ["include"], |
| 19 | } |
Mikhail Naganov | 13ce4f6 | 2019-02-28 15:11:41 -0800 | [diff] [blame] | 20 | |
| 21 | cc_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 | ], |
| 29 | cflags: [ |
| 30 | "-Wall", |
| 31 | "-Werror", |
| 32 | "-Wextra", |
| 33 | ], |
| 34 | header_libs: [ |
| 35 | "libbase_headers", |
| 36 | "libaudiopolicycommon", |
| 37 | "libaudiopolicyengine_common_headers", |
| 38 | "libaudiopolicyengine_interface_headers", |
| 39 | ], |
| 40 | export_header_lib_headers: [ |
| 41 | "libaudiopolicyengine_common_headers", |
| 42 | ], |
| 43 | static_libs: [ |
| 44 | "libaudiopolicycomponents", |
| 45 | "libaudiopolicyengine_config", |
| 46 | ], |
| 47 | } |