blob: 1bbd5917b45c7473c38f9d91c6be92c6405219fd [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",
42 "android.hardware.audio.common@2.0",
43 "android.hidl.allocator@1.0",
44 "android.hidl.memory@1.0",
45 ],
46
47 include_dirs: ["frameworks/av/services/audioflinger"],
48
49 cflags: [
50 "-Wall",
51 "-Werror",
52 ],
53}