blob: 3f02f48aa563094f2bcc77963cf279a98d23c05f [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
34 "libhwbinder",
35 "libhidlbase",
36 "libhidlmemory",
37 "libhidltransport",
38 "libbase",
39 "libaudiohal",
40 "libaudiohal_deathhandler",
41 "android.hardware.soundtrigger@2.0",
42 "android.hardware.soundtrigger@2.1",
43 "android.hardware.soundtrigger@2.2",
44 "android.hardware.audio.common@2.0",
45 "android.hidl.allocator@1.0",
46 "android.hidl.memory@1.0",
47 ],
48
49 include_dirs: ["frameworks/av/services/audioflinger"],
50
51 cflags: [
52 "-Wall",
53 "-Werror",
54 ],
55}