blob: 64d835b499740e58f192b07f2081dd6102a1f0eb [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
15cc_library_shared {
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: [
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",
Mikhail Naganov1209b482019-04-26 16:20:57 -070050 "libbase",
51 "libbinder",
52 "libcutils",
53 "liblog",
54 "libmediautils",
55 "libutils",
56 ],
57
Marco Nelissena51151a2020-01-07 13:37:47 -080058 header_libs: [
59 "libaudiohal_headers",
60 ],
61
62 include_dirs: [
63 "frameworks/av/media/libnbaio/include_mono",
64 "frameworks/av/media/libnbaio/include",
65 ],
Mikhail Naganov1209b482019-04-26 16:20:57 -070066}