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 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", 31 "libaudioutils", 32 "libmediautils", 33 34 "libhidlbase", 35 "libhidlmemory", 36 "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} 54