blob: 820684a392bcfce6a876eccd9eeafc95691cadc8 [file] [log] [blame]
Naresh Tanniruf1290152018-11-27 12:16:45 +05301ifneq ($(AUDIO_USE_STUB_HAL), true)
Eric Laurent73fb11d2013-04-09 11:24:13 -07002LOCAL_PATH:= $(call my-dir)
3
4# audio preprocessing wrapper
5include $(CLEAR_VARS)
6
Abhishek Arpurece112352018-01-31 21:29:03 +05307LOCAL_CFLAGS += -Wno-unused-variable -Wno-gnu-designator -Wno-unused-value -Wno-unused-function
8
Eric Laurent73fb11d2013-04-09 11:24:13 -07009LOCAL_MODULE:= libqcomvoiceprocessing
10LOCAL_MODULE_TAGS := optional
Apoorv Raghuvanshi1b555f72014-05-29 12:48:15 -070011LOCAL_MODULE_RELATIVE_PATH := soundfx
Naresh Tanniru10758b62017-06-05 21:05:53 +053012LOCAL_VENDOR_MODULE := true
Eric Laurent73fb11d2013-04-09 11:24:13 -070013
14LOCAL_SRC_FILES:= \
15 voice_processing.c
16
17LOCAL_C_INCLUDES += \
18 $(call include-path-for, audio-effects)
19
20LOCAL_SHARED_LIBRARIES := \
Dhananjay Kumara5d42b32017-01-11 21:22:16 +053021 liblog \
Eric Laurent73fb11d2013-04-09 11:24:13 -070022 libcutils
23
Vatsal Buchac09ae062018-11-14 13:25:08 +053024ifeq ($(strip $(AUDIO_FEATURE_ENABLED_GCOV)),true)
25LOCAL_CFLAGS += --coverage -fprofile-arcs -ftest-coverage
26LOCAL_CPPFLAGS += --coverage -fprofile-arcs -ftest-coverage
27LOCAL_STATIC_LIBRARIES += libprofile_rt
28endif
29
Eric Laurent73fb11d2013-04-09 11:24:13 -070030LOCAL_SHARED_LIBRARIES += libdl
31
Revathi Uddarajue8bd13c2018-04-02 21:27:54 +053032LOCAL_HEADER_LIBRARIES := libhardware_headers
Eric Laurent73fb11d2013-04-09 11:24:13 -070033LOCAL_CFLAGS += -fvisibility=hidden
34
Soumil Shah196157e2018-01-22 17:39:48 -080035LOCAL_CFLAGS += -Wno-unused-variable
36LOCAL_CFLAGS += -Wno-sign-compare
37LOCAL_CFLAGS += -Wno-unused-parameter
38LOCAL_CFLAGS += -Wno-unused-label
39LOCAL_CFLAGS += -Wno-gnu-designator
40LOCAL_CFLAGS += -Wno-typedef-redefinition
41LOCAL_CFLAGS += -Wno-shorten-64-to-32
42LOCAL_CFLAGS += -Wno-tautological-compare
43LOCAL_CFLAGS += -Wno-unused-function
44LOCAL_CFLAGS += -Wno-unused-local-typedef
45
Eric Laurent73fb11d2013-04-09 11:24:13 -070046include $(BUILD_SHARED_LIBRARY)
Naresh Tanniruf1290152018-11-27 12:16:45 +053047endif