blob: 9da486790af28675004683a146420cf1d8211ded [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: [
Phil Burk0bd745e2020-10-17 18:20:01 +000040 "-Wthread-safety",
Mikhail Naganov1209b482019-04-26 16:20:57 -070041 "-Wno-unused-parameter",
42 "-Wall",
43 "-Werror",
44 ],
45
46 shared_libs: [
dimitry2d2f17c2019-07-17 13:55:16 +020047 "libaaudio_internal",
Mikhail Naganov1209b482019-04-26 16:20:57 -070048 "libaudioclient",
49 "libaudioflinger",
Phil Burkef34be52019-09-26 13:45:25 -070050 "libaudioutils",
Phil Burka9876702020-04-20 18:16:15 -070051 "libmedia_helper",
52 "libmediametrics",
53 "libmediautils",
Mikhail Naganov1209b482019-04-26 16:20:57 -070054 "libbase",
55 "libbinder",
56 "libcutils",
57 "liblog",
Mikhail Naganov1209b482019-04-26 16:20:57 -070058 "libutils",
Ytai Ben-Tsvic5f45872020-08-18 10:39:44 -070059 "aaudio-aidl-cpp",
Mikhail Naganov1209b482019-04-26 16:20:57 -070060 ],
61
Ytai Ben-Tsvi0412f732020-08-17 14:43:36 -070062 export_shared_lib_headers: [
63 "libaaudio_internal",
64 ],
65
Marco Nelissena51151a2020-01-07 13:37:47 -080066 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 Naganov1209b482019-04-26 16:20:57 -070074}