blob: c40a79e82a3e8a835dd17e9bfdc018038194677a [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
Bob Badour948e6aa2021-02-12 21:02:31 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_av_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_av_license"],
22}
23
Mufaddal Chakera3813f742020-11-11 11:12:48 +053024cc_library {
Mikhail Naganov1209b482019-04-26 16:20:57 -070025
26 name: "libaaudioservice",
27
28 srcs: [
29 "AAudioClientTracker.cpp",
30 "AAudioEndpointManager.cpp",
31 "AAudioMixer.cpp",
32 "AAudioService.cpp",
33 "AAudioServiceEndpoint.cpp",
34 "AAudioServiceEndpointCapture.cpp",
35 "AAudioServiceEndpointMMAP.cpp",
36 "AAudioServiceEndpointPlay.cpp",
37 "AAudioServiceEndpointShared.cpp",
38 "AAudioServiceStreamBase.cpp",
39 "AAudioServiceStreamMMAP.cpp",
40 "AAudioServiceStreamShared.cpp",
41 "AAudioStreamTracker.cpp",
42 "AAudioThread.cpp",
43 "SharedMemoryProxy.cpp",
44 "SharedRingBuffer.cpp",
45 "TimestampScheduler.cpp",
46 ],
47
48 cflags: [
49 "-Wno-unused-parameter",
50 "-Wall",
51 "-Werror",
52 ],
53
54 shared_libs: [
dimitry2d2f17c2019-07-17 13:55:16 +020055 "libaaudio_internal",
Mikhail Naganov1209b482019-04-26 16:20:57 -070056 "libaudioclient",
57 "libaudioflinger",
Phil Burkef34be52019-09-26 13:45:25 -070058 "libaudioutils",
Phil Burka9876702020-04-20 18:16:15 -070059 "libmedia_helper",
60 "libmediametrics",
61 "libmediautils",
Mikhail Naganov1209b482019-04-26 16:20:57 -070062 "libbase",
63 "libbinder",
64 "libcutils",
65 "liblog",
Mikhail Naganov1209b482019-04-26 16:20:57 -070066 "libutils",
67 ],
68
Marco Nelissena51151a2020-01-07 13:37:47 -080069 header_libs: [
70 "libaudiohal_headers",
71 ],
72
73 include_dirs: [
74 "frameworks/av/media/libnbaio/include_mono",
75 "frameworks/av/media/libnbaio/include",
76 ],
Mikhail Naganov1209b482019-04-26 16:20:57 -070077}