Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 1 | // Copyright (C) 2019 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 | |
Mufaddal Chakera | 3813f74 | 2020-11-11 11:12:48 +0530 | [diff] [blame^] | 15 | cc_library { |
Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 16 | |
| 17 | name: "libaaudioservice", |
| 18 | |
| 19 | srcs: [ |
| 20 | "AAudioClientTracker.cpp", |
| 21 | "AAudioEndpointManager.cpp", |
| 22 | "AAudioMixer.cpp", |
| 23 | "AAudioService.cpp", |
| 24 | "AAudioServiceEndpoint.cpp", |
| 25 | "AAudioServiceEndpointCapture.cpp", |
| 26 | "AAudioServiceEndpointMMAP.cpp", |
| 27 | "AAudioServiceEndpointPlay.cpp", |
| 28 | "AAudioServiceEndpointShared.cpp", |
| 29 | "AAudioServiceStreamBase.cpp", |
| 30 | "AAudioServiceStreamMMAP.cpp", |
| 31 | "AAudioServiceStreamShared.cpp", |
| 32 | "AAudioStreamTracker.cpp", |
| 33 | "AAudioThread.cpp", |
| 34 | "SharedMemoryProxy.cpp", |
| 35 | "SharedRingBuffer.cpp", |
| 36 | "TimestampScheduler.cpp", |
| 37 | ], |
| 38 | |
| 39 | cflags: [ |
| 40 | "-Wno-unused-parameter", |
| 41 | "-Wall", |
| 42 | "-Werror", |
| 43 | ], |
| 44 | |
| 45 | shared_libs: [ |
dimitry | 2d2f17c | 2019-07-17 13:55:16 +0200 | [diff] [blame] | 46 | "libaaudio_internal", |
Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 47 | "libaudioclient", |
| 48 | "libaudioflinger", |
Phil Burk | ef34be5 | 2019-09-26 13:45:25 -0700 | [diff] [blame] | 49 | "libaudioutils", |
Phil Burk | a987670 | 2020-04-20 18:16:15 -0700 | [diff] [blame] | 50 | "libmedia_helper", |
| 51 | "libmediametrics", |
| 52 | "libmediautils", |
Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 53 | "libbase", |
| 54 | "libbinder", |
| 55 | "libcutils", |
| 56 | "liblog", |
Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 57 | "libutils", |
| 58 | ], |
| 59 | |
Marco Nelissen | a51151a | 2020-01-07 13:37:47 -0800 | [diff] [blame] | 60 | header_libs: [ |
| 61 | "libaudiohal_headers", |
| 62 | ], |
| 63 | |
| 64 | include_dirs: [ |
| 65 | "frameworks/av/media/libnbaio/include_mono", |
| 66 | "frameworks/av/media/libnbaio/include", |
| 67 | ], |
Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 68 | } |