Dan Willemsen | d1dbc78 | 2018-11-20 12:49:00 -0800 | [diff] [blame^] | 1 | // 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 | |
| 15 | cc_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", |
| 31 | "libmediautils", |
| 32 | |
| 33 | "libhwbinder", |
| 34 | "libhidlbase", |
| 35 | "libhidlmemory", |
| 36 | "libhidltransport", |
| 37 | "libbase", |
| 38 | "libaudiohal", |
| 39 | "libaudiohal_deathhandler", |
| 40 | "android.hardware.soundtrigger@2.0", |
| 41 | "android.hardware.soundtrigger@2.1", |
| 42 | "android.hardware.soundtrigger@2.2", |
| 43 | "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 | } |