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: [ |
Phil Burk | 0bd745e | 2020-10-17 18:20:01 +0000 | [diff] [blame] | 40 | "-Wthread-safety", |
Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 41 | "-Wno-unused-parameter", |
| 42 | "-Wall", |
| 43 | "-Werror", |
| 44 | ], |
| 45 | |
| 46 | shared_libs: [ |
dimitry | 2d2f17c | 2019-07-17 13:55:16 +0200 | [diff] [blame] | 47 | "libaaudio_internal", |
Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 48 | "libaudioclient", |
| 49 | "libaudioflinger", |
Phil Burk | ef34be5 | 2019-09-26 13:45:25 -0700 | [diff] [blame] | 50 | "libaudioutils", |
Phil Burk | a987670 | 2020-04-20 18:16:15 -0700 | [diff] [blame] | 51 | "libmedia_helper", |
| 52 | "libmediametrics", |
| 53 | "libmediautils", |
Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 54 | "libbase", |
| 55 | "libbinder", |
| 56 | "libcutils", |
| 57 | "liblog", |
Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 58 | "libutils", |
Ytai Ben-Tsvi | c5f4587 | 2020-08-18 10:39:44 -0700 | [diff] [blame] | 59 | "aaudio-aidl-cpp", |
Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 60 | ], |
| 61 | |
Ytai Ben-Tsvi | 0412f73 | 2020-08-17 14:43:36 -0700 | [diff] [blame] | 62 | export_shared_lib_headers: [ |
| 63 | "libaaudio_internal", |
| 64 | ], |
| 65 | |
Marco Nelissen | a51151a | 2020-01-07 13:37:47 -0800 | [diff] [blame] | 66 | header_libs: [ |
| 67 | "libaudiohal_headers", |
| 68 | ], |
| 69 | |
| 70 | include_dirs: [ |
| 71 | "frameworks/av/media/libnbaio/include_mono", |
| 72 | "frameworks/av/media/libnbaio/include", |
| 73 | ], |
Mikhail Naganov | 1209b48 | 2019-04-26 16:20:57 -0700 | [diff] [blame] | 74 | } |