blob: 600f4a3d0780c14e3bfedf436ef1ee7884ff5367 [file] [log] [blame]
Dan Willemsend1dbc782018-11-20 12:49:00 -08001// Copyright 2014 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 name: "libsoundtriggerservice",
17
18 srcs: [
19 "SoundTriggerHwService.cpp",
20 "SoundTriggerHalHidl.cpp",
21 ],
22
23 shared_libs: [
24 "liblog",
25 "libutils",
26 "libbinder",
27 "libcutils",
28 "libhardware",
29 "libsoundtrigger",
30 "libaudioclient",
Mikhail Naganov959e2d02019-03-28 11:08:19 -070031 "libaudioutils",
Dan Willemsend1dbc782018-11-20 12:49:00 -080032 "libmediautils",
33
Dan Willemsend1dbc782018-11-20 12:49:00 -080034 "libhidlbase",
35 "libhidlmemory",
Dan Willemsend1dbc782018-11-20 12:49:00 -080036 "libbase",
37 "libaudiohal",
38 "libaudiohal_deathhandler",
39 "android.hardware.soundtrigger@2.0",
40 "android.hardware.soundtrigger@2.1",
41 "android.hardware.soundtrigger@2.2",
Nicholas Ambur41947e22019-10-01 11:53:40 -070042 "android.hardware.soundtrigger@2.3",
Dan Willemsend1dbc782018-11-20 12:49:00 -080043 "android.hardware.audio.common@2.0",
44 "android.hidl.allocator@1.0",
45 "android.hidl.memory@1.0",
46 ],
47
48 include_dirs: ["frameworks/av/services/audioflinger"],
49
50 cflags: [
51 "-Wall",
52 "-Werror",
53 ],
54}