blob: 0e45204f49be8850288af727651fc867d9ca8bdf [file] [log] [blame]
Mikhail Naganov1209b482019-04-26 16:20:57 -07001// 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 Chakera3813f742020-11-11 11:12:48 +053015cc_library {
Mikhail Naganov1209b482019-04-26 16:20:57 -070016
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: [
dimitry2d2f17c2019-07-17 13:55:16 +020046 "libaaudio_internal",
Mikhail Naganov1209b482019-04-26 16:20:57 -070047 "libaudioclient",
48 "libaudioflinger",
Phil Burkef34be52019-09-26 13:45:25 -070049 "libaudioutils",
Phil Burka9876702020-04-20 18:16:15 -070050 "libmedia_helper",
51 "libmediametrics",
52 "libmediautils",
Mikhail Naganov1209b482019-04-26 16:20:57 -070053 "libbase",
54 "libbinder",
55 "libcutils",
56 "liblog",
Mikhail Naganov1209b482019-04-26 16:20:57 -070057 "libutils",
58 ],
59
Marco Nelissena51151a2020-01-07 13:37:47 -080060 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 Naganov1209b482019-04-26 16:20:57 -070068}