blob: 0f5bbbaac041196b312e2fa0fd7b9fd9dcf41b28 [file] [log] [blame]
Eric Laurentb7a11d82014-04-18 17:40:41 -07001# 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
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18
19
20ifeq ($(SOUND_TRIGGER_USE_STUB_MODULE), 1)
21 LOCAL_CFLAGS += -DSOUND_TRIGGER_USE_STUB_MODULE
22endif
23
24LOCAL_SRC_FILES:= \
25 SoundTriggerHwService.cpp
26
27LOCAL_SHARED_LIBRARIES:= \
Eric Laurentb7a11d82014-04-18 17:40:41 -070028 liblog \
29 libutils \
30 libbinder \
31 libcutils \
32 libhardware \
Eric Laurentdf3dc7e2014-07-27 18:39:40 -070033 libsoundtrigger \
Marco Nelissen795a2a72016-11-02 13:21:22 -070034 libaudioclient \
Eric Laurent8ba53d82014-08-01 23:15:05 +000035 libserviceutility
Eric Laurentb7a11d82014-04-18 17:40:41 -070036
Eric Laurent8ba53d82014-08-01 23:15:05 +000037LOCAL_C_INCLUDES += \
38 $(TOPDIR)frameworks/av/services/audioflinger
Eric Laurentb7a11d82014-04-18 17:40:41 -070039
Andy Hung8fa26972016-03-03 13:19:27 -080040LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
41
Glenn Kastenfcddb0b2016-07-08 17:19:25 -070042LOCAL_CFLAGS := -Wall -Werror
43
Eric Laurentb7a11d82014-04-18 17:40:41 -070044LOCAL_MODULE:= libsoundtriggerservice
45
46include $(BUILD_SHARED_LIBRARY)